From 08c4150ec4f9fde303205802d646f96a54fd5a59 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 21 May 2013 14:45:28 -0700 Subject: 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 Reviewed-on: https://gerrit.chromium.org/gerrit/56104 Commit-Queue: Stefan Reinauer Reviewed-by: Stefan Reinauer Tested-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/4317 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc --- payloads/libpayload/arch/armv7/Makefile.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'payloads/libpayload/arch/armv7') 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 -- cgit v1.2.3