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>
This commit is contained in:
parent
f62065f15b
commit
698366654c
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue