summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2013-05-21 14:45:28 -0700
committerAlexandru Gagniuc <mr.nuke.me@gmail.com>2013-12-05 15:44:31 +0100
commit08c4150ec4f9fde303205802d646f96a54fd5a59 (patch)
tree64c0ebb6a1073b1181a88198ec2fbc8ff0336334 /payloads/libpayload/arch
parent1defc861d064ab9fbad68e33824b2fc9af8f240e (diff)
downloadcoreboot-08c4150ec4f9fde303205802d646f96a54fd5a59.tar.xz
libpayload: Clean up CFLAGS
- Add -ffreestanding and -fomit-frame-pointer for all platforms. - Add ARMv7 specific flags to the armv7 Makefile Change-Id: I71ab1b096e505940cc20c266bccd43917bcfad3a Signed-off-by: Stefan Reinauer <reinauer@google.com> Reviewed-on: https://gerrit.chromium.org/gerrit/56104 Commit-Queue: Stefan Reinauer <reinauer@chromium.org> Reviewed-by: Stefan Reinauer <reinauer@chromium.org> Tested-by: Stefan Reinauer <reinauer@chromium.org> Reviewed-on: http://review.coreboot.org/4317 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'payloads/libpayload/arch')
-rw-r--r--payloads/libpayload/arch/armv7/Makefile.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/armv7/Makefile.inc b/payloads/libpayload/arch/armv7/Makefile.inc
index 9c7fe838cc..2c7c9e9cc3 100644
--- a/payloads/libpayload/arch/armv7/Makefile.inc
+++ b/payloads/libpayload/arch/armv7/Makefile.inc
@@ -27,6 +27,8 @@
## SUCH DAMAGE.
##
+CFLAGS += -ffixed-r8 -mfloat-abi=hard -marm -mabi=aapcs-linux
+
head.o-y += head.S
libc-y += main.c sysinfo.c
libc-y += timer.c coreboot.c util.S