Patrick Georgi (patrick@georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/403
-gerrit
commit 4162c3bbf3d0be1cf2cf71ab408d3b65de75a0bc Author: Patrick Georgi patrick@georgi-clan.de Date: Sat Nov 5 01:18:53 2011 +0100
Allow using binary libpayload
We already test for LIBPAYLOAD_PREFIX in the Makefile's build codepath. Also test for it in the configuration codepath, so a prebuilt libpayload can be used for FILO.
Change-Id: I8f2aa102f1e41f698bfd4061c5e7e7b8082c885e Signed-off-by: Patrick Georgi patrick@georgi-clan.de --- util/kconfig/Makefile | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/util/kconfig/Makefile b/util/kconfig/Makefile index 70c3870..1d519b2 100644 --- a/util/kconfig/Makefile +++ b/util/kconfig/Makefile @@ -18,10 +18,16 @@ LIB_CONFIG := $(src)/lib.config HAVE_FILO_CONFIG := $(wildcard $(FILO_CONFIG)) HAVE_LIB_CONFIG := $(wildcard $(LIB_CONFIG))
+LIBPAYLOAD ?= $(wildcard $(LIBPAYLOAD_PREFIX)/lib/libpayload.a) +ifeq ($(LIBPAYLOAD),) libpayload_config_%: echo "Libpayload config for FILO." $(MAKE) -C $(LIBCONFIG_PATH) KCONFIG_CONFIG=$(LIB_CONFIG) $(patsubst libpayload_config_%,%,$@) echo "Libpayload config done." +else +libpayload_config_%: + echo "Using binary libpayload, nothing to configure" +endif
xconfig: prepare $(objk)/qconf libpayload_config_xconfig $(objk)/qconf $(Kconfig)