From dfb8eb104a4160a4d33278468a4a1cc08f591e6f Mon Sep 17 00:00:00 2001 From: Furquan Shaikh Date: Thu, 2 Oct 2014 16:27:52 -0700 Subject: armv7: Add config option guard for verstage class Add files to verstage class depending upon value of CONFIG_ARCH_VERSTAGE_ARM_V7. BUG=None BRANCH=None TEST=Compiles successfully Original-Change-Id: I60fb8390abd9d378e38511d4f4ac323b43450232 Original-Signed-off-by: Furquan Shaikh Original-Reviewed-on: https://chromium-review.googlesource.com/221321 Original-Reviewed-by: Aaron Durbin Original-Tested-by: Furquan Shaikh Original-Commit-Queue: Furquan Shaikh (cherry picked from commit 4889cb73b0579155c083bb5fa2895b4d52ab0a56) Signed-off-by: Aaron Durbin Change-Id: Iea788ed72344343b2e7a3d91cd7f27ce20f4f177 Reviewed-on: http://review.coreboot.org/9251 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh --- src/arch/arm/armv7/Makefile.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/arch/arm') diff --git a/src/arch/arm/armv7/Makefile.inc b/src/arch/arm/armv7/Makefile.inc index c22c8c6b40..dac4276bbe 100644 --- a/src/arch/arm/armv7/Makefile.inc +++ b/src/arch/arm/armv7/Makefile.inc @@ -50,6 +50,8 @@ endif # CONFIG_ARCH_BOOTBLOCK_ARMV7 ## verification stage ################################################################################ +ifeq ($(CONFIG_ARCH_VERSTAGE_ARM_V7),y) + verstage-c-ccopts += $(armv7_flags) verstage-S-ccopts += $(armv7_asm_flags) verstage-y += cache.c @@ -58,6 +60,8 @@ verstage-y += exception.c verstage-y += exception_asm.S verstage-y += mmu.c +endif # CONFIG_ARCH_VERSTAGE_ARMV7 + ############################################################################### # romstage ############################################################################### -- cgit v1.2.3