[coreboot-gerrit] New patch to review for coreboot: 1cb2c6e Chrome OS vendorcode: Fix vboot_reference compilation

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Tue Mar 17 01:04:35 CET 2015


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/8703

-gerrit

commit 1cb2c6e81d846ace4385b86e89f349b69606fbf8
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Mon Mar 16 17:01:52 2015 -0700

    Chrome OS vendorcode: Fix vboot_reference compilation
    
    Oddly, the include paths are no longer passed in, and FIRMWARE_ARCH
    wants to be passed as a parameter.
    
    Change-Id: I5aee9935ab36ad571fbcf9f6fa8d8ace2bac16b3
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
 src/vendorcode/google/chromeos/Makefile.inc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/vendorcode/google/chromeos/Makefile.inc b/src/vendorcode/google/chromeos/Makefile.inc
index cb3d9a6..c6b9887 100644
--- a/src/vendorcode/google/chromeos/Makefile.inc
+++ b/src/vendorcode/google/chromeos/Makefile.inc
@@ -83,11 +83,11 @@ $(eval $(call rmodule_link,$(VBOOT_STUB_ELF), $(VBOOT_STUB_DOTO), 0x10000,$(ARCH
 # Build vboot library without the default includes from coreboot proper.
 $(VB_LIB):
 	@printf "    MAKE       $(subst $(obj)/,,$(@))\n"
-	$(Q)FIRMWARE_ARCH=$(VB_FIRMWARE_ARCH) \
-		CC="$(CC_romstage)" \
-		CFLAGS="$(VBOOT_CFLAGS)" \
+	$(Q)CC="$(CC_romstage)" \
+		CFLAGS="$(VBOOT_CFLAGS) -I../$(src)/include -I../$(src)/arch/$(ARCHDIR-$(ARCH-romstage-y))/include" \
 		make -C $(VB_SOURCE) \
 		$(VBOOT_MAKEFLAGS) \
+		FIRMWARE_ARCH=$(VB_FIRMWARE_ARCH) \
 		BUILD=../$(dir $(VB_LIB)) \
 		V=$(V) \
 		fwlib



More information about the coreboot-gerrit mailing list