Patchwork Coreinfo build patch

login
register
about
Submitter Myles Watson
Date 2010-08-04 20:18:07
Message ID <AANLkTi=0YSi8LZOSKh1i7L-uiTEM2smqBxr+99udUAxH@mail.gmail.com>
Download mbox | patch
Permalink /patch/1722/
State Accepted
Headers show

Comments

Myles Watson - 2010-08-04 20:18:07
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 <mylesgw@gmail.com>

Thanks,
Myles
Peter Stuge - 2010-08-05 03:35:13
Myles Watson wrote:
> 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 <mylesgw@gmail.com>

Acked-by: Peter Stuge <peter@stuge.se>
Myles Watson - 2010-08-05 14:43:09
> Acked-by: Cai Bai Yin <caibaiyin.pku@gmail.com>

>Acked-by: Peter Stuge <peter@stuge.se>

Rev 5685.

Thanks,
Myles

Patch

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