Change the default path to libpayload since they are both in payloads/.
Change LAR support to default to no, since that is the default in libpayload.

With this change, the steps to build coreinfo are:

1. Build libpayload:
cd payloads/libpayload
make menuconfig
make install

2. Build coreinfo
cd ../coreinfo
make menuconfig
make

Signed-off-by: Myles Watson <[email protected]>

Thanks,
Myles
Index: Kconfig
===================================================================
--- Kconfig	(revision 5661)
+++ Kconfig	(working copy)
@@ -103,8 +103,10 @@
 	default y
 
 config MODULE_LAR
-	bool "Enable the coreboot LAR module"
-	default y
+	bool "Enable the coreboot v3 LAR module"
+	help
+	  LAR support must also be enabled in libpayload.
+	default n
 
 config MODULE_CBFS
 	bool "Enable the coreboot CBFS module"
Index: Makefile
===================================================================
--- Makefile	(revision 5661)
+++ Makefile	(working copy)
@@ -44,7 +44,7 @@
 HOSTCFLAGS := -I$(srck) -I$(objk)
 HOSTCXXFLAGS := -I$(srck) -I$(objk)
 
-LIBPAYLOAD_DIR := ../libpayload
+LIBPAYLOAD_DIR := ../libpayload/install/libpayload
 XCC := CC=$(CC) $(LIBPAYLOAD_DIR)/bin/lpgcc
 AS = $(LIBPAYLOAD_DIR)/bin/lpas
 STRIP ?= strip
-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to