From a742ef1a48cbeb077555318de1f9b3b0722e558b Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Wed, 23 Jul 2014 11:41:59 -0700 Subject: rmodules: Make rmodules inclusion for vboot dependent on romstage_arch Currently, the rmodules inclusion for vboot is dependent on ramstage_arch. This change adds dependency on romstage_arch, since vboot is associated with romstage. Inclusion based on ramstage_arch is left as is in case someone needs it in ramstage. BUG=chrome-os-partner:30784 BRANCH=None TEST=Compiles successfully for link, rush and nyan Original-Change-Id: Ib62415671c26a4a18c7133d98e8c683414def32b Original-Signed-off-by: Furquan Shaikh Original-Reviewed-on: https://chromium-review.googlesource.com/209568 Original-Reviewed-by: Aaron Durbin Original-Tested-by: Furquan Shaikh Original-Commit-Queue: Aaron Durbin (cherry picked from commit 00da67cc02c81d7a6160f7336b33bf53b00e1875) Signed-off-by: Marc Jones Change-Id: I9df02134af4e396c7257a2db2e2c371cfd1a02bc Reviewed-on: http://review.coreboot.org/8673 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/arch/arm/armv4/Makefile.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/arch/arm/armv4') diff --git a/src/arch/arm/armv4/Makefile.inc b/src/arch/arm/armv4/Makefile.inc index eab7f0f758..b234fff2d3 100644 --- a/src/arch/arm/armv4/Makefile.inc +++ b/src/arch/arm/armv4/Makefile.inc @@ -51,6 +51,9 @@ romstage-c-ccopts += $(armv4_flags) romstage-S-ccopts += $(armv4_flags) romstage-y += cache.c +rmodules_arm-c-ccopts += $(armv4_flags) +rmodules_arm-S-ccopts += $(armv4_flags) + endif # CONFIG_ARCH_ROMSTAGE_ARMV4 ############################################################################### -- cgit v1.2.3