From ed56499ab145dc3dec1ee65693fe4b5d2f4a973f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 11 Jun 2015 14:57:36 -0700 Subject: libpayload: Drop duplicate copy of Kconfig It's perfectly fine to have one single copy of kconfig in the tree. Change-Id: Icfe32f0249dfc1c223009d6e7136462f8f8a7248 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/10521 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- payloads/libpayload/Makefile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'payloads/libpayload/Makefile') diff --git a/payloads/libpayload/Makefile b/payloads/libpayload/Makefile index 1097ce5014..dd538dd048 100644 --- a/payloads/libpayload/Makefile +++ b/payloads/libpayload/Makefile @@ -45,14 +45,19 @@ endif export top := $(CURDIR) export src := src -export srck := $(top)/util/kconfig +export srck := $(top)/../../util/kconfig export obj ?= build export objutil ?= $(obj)/util export objk := $(objutil)/lp_kconfig - export KCONFIG_AUTOHEADER := $(obj)/config.h export KCONFIG_AUTOCONFIG := $(obj)/auto.conf +export KCONFIG_DEPENDENCIES := $(obj)/auto.conf.cmd +export KCONFIG_SPLITCONFIG := $(obj)/config +export KCONFIG_TRISTATE := $(obj)/tristate.conf +export KCONFIG_NEGATIVES := 1 +export Kconfig := Kconfig +export CONFIG_ := CONFIG_LP_ # directory containing the toplevel Makefile.inc TOPLEVEL := . @@ -87,7 +92,7 @@ all: real-all # This include must come _before_ the pattern rules below! # Order _does_ matter for pattern rules. -include util/kconfig/Makefile +include ../../util/kconfig/Makefile include $(HAVE_DOTCONFIG) @@ -276,7 +281,7 @@ printall: endif -$(shell mkdir -p $(obj) $(objk)/lxdialog $(additional-dirs) $(alldirs)) +$(shell mkdir -p $(KCONFIG_SPLITCONFIG) $(obj) $(objk)/lxdialog $(additional-dirs) $(alldirs)) cscope: cscope -bR -- cgit v1.2.3