From 5a81d6b026ab06123f47e39bc47aedcf23048e6b Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Wed, 19 Dec 2012 14:16:30 +0000 Subject: xen: arm: introduce arm32 as a subarch of arm. - move 32-bit specific files into subarch specific arm32 subdirectory. - move gic.h to xen/include/asm-arm (it is needed from both subarch and generic code). - make the appropriate build and config file changes to support XEN_TARGET_ARCH=arm32. This prepares us for an eventual 64-bit subarch. Signed-off-by: Ian Campbell Acked-by: Stefano Stabellini Committed-by: Ian Campbell --- config/arm32.mk | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 config/arm32.mk (limited to 'config/arm32.mk') diff --git a/config/arm32.mk b/config/arm32.mk new file mode 100644 index 0000000000..f64f0c1c83 --- /dev/null +++ b/config/arm32.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