summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-04-23 17:33:18 -0600
committerMartin Roth <martinroth@google.com>2016-04-26 20:08:55 +0200
commit698366654c7d430ed573ac0a340d843200cd3407 (patch)
treef4baec8918e8cdd2d90b9552fd9fda18e4554533
parentf62065f15be60c13c6239f10854069bcaa80b2da (diff)
coreinfo: Update Makefile
- Get the absolute pathname for LIBPAYLOAD_PATH - Update distclean: --correctly remove .config and .config.old - *.config doesn't match .config -- remove obsolete files from cleanup Change-Id: I6aa51b4ac2b392f786aeb12647be5073e6d02df5 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/14485 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
-rw-r--r--payloads/coreinfo/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/payloads/coreinfo/Makefile b/payloads/coreinfo/Makefile
index d953091187..7c2e636ded 100644
--- a/payloads/coreinfo/Makefile
+++ b/payloads/coreinfo/Makefile
@@ -47,7 +47,7 @@ HOSTCXX ?= g++
HOSTCFLAGS := -I$(srck) -I$(objk)
HOSTCXXFLAGS := -I$(srck) -I$(objk)
-LIBPAYLOAD_PATH := ../libpayload
+LIBPAYLOAD_PATH := $(realpath ../libpayload)
LIBPAYLOAD_OBJ := $(coreinfo_obj)/libpayload
HAVE_LIBPAYLOAD := $(wildcard $(LIBPAYLOAD_OBJ)/lib/libpayload.a)
LIBPAYLOAD_CONFIG ?= configs/defconfig-tinycurses
@@ -132,7 +132,7 @@ clean:
distclean: clean
rm -rf build lpbuild
- rm -f *.config *.config.old ..config.tmp .kconfig.d .tmpconfig*
+ rm -f .config* lp.config*
include $(srck)/Makefile