aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-02-09 15:32:50 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-02-09 15:32:50 +0000
commit4fac110e534e47a87201f9f19035adc590d5f9c2 (patch)
tree8dfcc235f4b0b05921559b7121113367575aaf7b /config
parent88df5dafc9223c258c512b4b4ec8fd0c33b95515 (diff)
downloadxen-4fac110e534e47a87201f9f19035adc590d5f9c2.tar.gz
xen-4fac110e534e47a87201f9f19035adc590d5f9c2.tar.bz2
xen-4fac110e534e47a87201f9f19035adc590d5f9c2.zip
arm: makefiles
Makefile and config options for the ARM architecture. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: Tim Deegan <Tim.Deegan@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'config')
-rw-r--r--config/arm.mk18
1 files changed, 18 insertions, 0 deletions
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