[coreboot-gerrit] New patch to review for coreboot: 97fbf7d vboot2: Use the right set of compiler flags for building vboot libraries

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Mon May 11 19:27:24 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10174

-gerrit

commit 97fbf7d2781c85370e83e118af6a4e135fae36cc
Author: Patrick Georgi <pgeorgi at google.com>
Date:   Mon May 11 19:25:21 2015 +0200

    vboot2: Use the right set of compiler flags for building vboot libraries
    
    This make it pass through -fno-stack-protector, and also uses
    libverstage fields consistently.
    verstage is for 'stage' stuff, libverstage for all the vboot logic.
    
    Change-Id: I3032e072414bed52effd2dc5057896781ad562c6
    Signed-off-by: Patrick Georgi <pgeorgi at google.com>
---
 src/vendorcode/google/chromeos/vboot2/Makefile.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/vendorcode/google/chromeos/vboot2/Makefile.inc b/src/vendorcode/google/chromeos/vboot2/Makefile.inc
index e9377b2..fe1d237 100644
--- a/src/vendorcode/google/chromeos/vboot2/Makefile.inc
+++ b/src/vendorcode/google/chromeos/vboot2/Makefile.inc
@@ -50,7 +50,8 @@ endif
 endif # CONFIG_SEPARATE_VERSTAGE
 
 VB2_LIB = $(obj)/external/vboot_reference/vboot_fw20.a
-VBOOT_CFLAGS += $(patsubst -I%,-I$(top)/%,$(filter-out -include $(src)/include/kconfig.h, $(CPPFLAGS_verstage)))
+VBOOT_CFLAGS += $(patsubst -I%,-I$(top)/%,$(filter-out -include $(src)/include/kconfig.h, $(CPPFLAGS_libverstage)))
+VBOOT_CFLAGS += $(CFLAGS_libverstage)
 VBOOT_CFLAGS += $(libverstage-c-ccopts)
 VBOOT_CFLAGS += -include $(top)/src/include/kconfig.h -Wno-missing-prototypes
 VBOOT_CFLAGS += -DVBOOT_DEBUG



More information about the coreboot-gerrit mailing list