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 Change-Id: I60fb8390abd9d378e38511d4f4ac323b43450232 Signed-off-by: Furquan Shaikh <furquan@google.com> Reviewed-on: https://chromium-review.googlesource.com/221321 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
13d6accfdb
commit
4889cb73b0
1 changed files with 4 additions and 0 deletions
|
|
@ -46,6 +46,9 @@ endif
|
|||
################################################################################
|
||||
## Verification stage
|
||||
################################################################################
|
||||
|
||||
ifeq ($(CONFIG_ARCH_VERSTAGE_ARM_V7),y)
|
||||
|
||||
verstage-c-ccopts += $(armv7_flags)
|
||||
verstage-S-ccopts += $(armv7_asm_flags)
|
||||
verstage-y += cache.c
|
||||
|
|
@ -54,6 +57,7 @@ verstage-y += exception.c
|
|||
verstage-y += exception_asm.S
|
||||
verstage-y += mmu.c
|
||||
|
||||
endif
|
||||
################################################################################
|
||||
## ROM stage
|
||||
################################################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue