armv7: provide compiler options for rmodules
In order to build rmodules for armv7 boards, the default compiler options need to be set so the assembler sources can correclty compile. For now assume rmodules for arm devices use the ramstage compiler options. BUG=chrome-os-partner:27094 BRANCH=None TEST=Built vboot as rmodule for nyan. Change-Id: I8d12a2a57944b187cbdff2f22176de5b4de87a54 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/190926
This commit is contained in:
parent
1e632e861f
commit
cd091ae8ce
1 changed files with 4 additions and 0 deletions
|
|
@ -73,4 +73,8 @@ ramstage-y += mmu.c
|
|||
ramstage-c-ccopts += $(armv7_flags)
|
||||
ramstage-S-ccopts += $(armv7_asm_flags)
|
||||
|
||||
# All rmodule code is armv7 if ramstage is armv7.
|
||||
rmodules-c-ccopts += $(armv7_flags)
|
||||
rmodules-S-ccopts += $(armv7_asm_flags)
|
||||
endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue