From 4fac110e534e47a87201f9f19035adc590d5f9c2 Mon Sep 17 00:00:00 2001 From: Stefano Stabellini Date: Thu, 9 Feb 2012 15:32:50 +0000 Subject: arm: makefiles Makefile and config options for the ARM architecture. Signed-off-by: Stefano Stabellini Signed-off-by: Ian Campbell Signed-off-by: Tim Deegan Committed-by: Ian Campbell --- config/arm.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 config/arm.mk (limited to 'config') diff --git a/config/arm.mk b/config/arm.mk new file mode 100644 index 0000000000..f64f0c1c83 --- /dev/null +++ b/config/arm.mk @@ -0,0 +1,18 @@ +CONFIG_ARM := y +CONFIG_ARM_32 := y +CONFIG_ARM_$(XEN_OS) := y + +# -march= -mcpu= + +# Explicitly specifiy 32-bit ARM ISA since toolchain default can be -mthumb: +CFLAGS += -marm + +HAS_PL011 := y + +# Use only if calling $(LD) directly. +#LDFLAGS_DIRECT_OpenBSD = _obsd +#LDFLAGS_DIRECT_FreeBSD = _fbsd +LDFLAGS_DIRECT_Linux = _linux +LDFLAGS_DIRECT += -marmelf$(LDFLAGS_DIRECT_$(XEN_OS))_eabi + +CONFIG_LOAD_ADDRESS ?= 0x80000000 -- cgit v1.2.3