From ca9f2f86ff1bc445abf5f97f61c04b6eccbd3e25 Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Fri, 25 Jul 2014 14:49:06 -0700 Subject: [PATCH] vboot: Update VBOOT_CFLAGS to include rmodules ccopts rmodules ccopts contain information about specific arch like armv4,v7. Hence, it is important to include them in VBOOT_CFLAGS BUG=None BRANCH=None TEST=Compiles correctly for armv4 in rush Change-Id: I8f5509f753e28046678c3782d6f0b6210559f798 Signed-off-by: Furquan Shaikh Reviewed-on: https://chromium-review.googlesource.com/209979 Reviewed-by: Aaron Durbin Commit-Queue: Furquan Shaikh Tested-by: Furquan Shaikh --- src/vendorcode/google/chromeos/Makefile.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vendorcode/google/chromeos/Makefile.inc b/src/vendorcode/google/chromeos/Makefile.inc index 450d283915..17910bd452 100644 --- a/src/vendorcode/google/chromeos/Makefile.inc +++ b/src/vendorcode/google/chromeos/Makefile.inc @@ -90,6 +90,7 @@ VBOOT_STUB_DEPS += $(VB_LIB) # vboot_reference can get to coreboot's include files. VBOOT_CFLAGS += $(patsubst -I%,-I../%,$(filter-out -include $(src)/include/kconfig.h, $(CFLAGS_romstage))) VBOOT_CFLAGS += -DVBOOT_DEBUG +VBOOT_CFLAGS += $(rmodules_$(ARCH-ROMSTAGE-y)-c-ccopts) $(VBOOT_STUB_DOTO): $(VBOOT_STUB_DEPS) $(CC_rmodules_$(ARCH-ROMSTAGE-y)) $(CFLAGS_rmodules_$(ARCH-ROMSTAGE-y)) $(LDFLAGS) -nostdlib -r -o $@ $^