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 <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/221321
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>

(cherry picked from commit 4889cb73b0579155c083bb5fa2895b4d52ab0a56)
Signed-off-by: Aaron Durbin <adurbin@chromium.org>

Change-Id: Iea788ed72344343b2e7a3d91cd7f27ce20f4f177
Reviewed-on: http://review.coreboot.org/9251
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Furquan Shaikh 2014-10-02 16:27:52 -07:00 committed by Aaron Durbin
parent ac4fef8345
commit dfb8eb104a
1 changed files with 4 additions and 0 deletions

View File

@ -50,6 +50,8 @@ endif # CONFIG_ARCH_BOOTBLOCK_ARMV7
## verification stage ## verification stage
################################################################################ ################################################################################
ifeq ($(CONFIG_ARCH_VERSTAGE_ARM_V7),y)
verstage-c-ccopts += $(armv7_flags) verstage-c-ccopts += $(armv7_flags)
verstage-S-ccopts += $(armv7_asm_flags) verstage-S-ccopts += $(armv7_asm_flags)
verstage-y += cache.c verstage-y += cache.c
@ -58,6 +60,8 @@ verstage-y += exception.c
verstage-y += exception_asm.S verstage-y += exception_asm.S
verstage-y += mmu.c verstage-y += mmu.c
endif # CONFIG_ARCH_VERSTAGE_ARMV7
############################################################################### ###############################################################################
# romstage # romstage
############################################################################### ###############################################################################