libpayload: add march flag for armv7
The cache functions for armv7 require 'march=armv7-a' to use the 'isb' and 'dsb' instructions. Change-Id: I3b7ad8fc7da8c3167b38fd1a325090fe49e4ca42 Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6668 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
parent
3efc52fc08
commit
0ed7940c5d
|
@ -27,7 +27,7 @@
|
|||
## SUCH DAMAGE.
|
||||
##
|
||||
|
||||
CFLAGS += -ffixed-r8 -mfloat-abi=hard -marm -mabi=aapcs-linux
|
||||
CFLAGS += -ffixed-r8 -mfloat-abi=hard -marm -mabi=aapcs-linux -march=armv7-a
|
||||
|
||||
head.o-y += head.S
|
||||
libc-y += main.c sysinfo.c
|
||||
|
|
Loading…
Reference in New Issue