aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/x86/Rules.mk
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-19 15:17:50 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-19 15:17:50 +0100
commite1d13ddb536f7e60e0b2389dd40dcf99827df9b6 (patch)
tree0e4a49334bd3081dfe8ebfa42f6d9be393071ab7 /xen/arch/x86/Rules.mk
parent26f7973d6ae16f77e44319c2598a7a366ddaa0ee (diff)
downloadxen-e1d13ddb536f7e60e0b2389dd40dcf99827df9b6.tar.gz
xen-e1d13ddb536f7e60e0b2389dd40dcf99827df9b6.tar.bz2
xen-e1d13ddb536f7e60e0b2389dd40dcf99827df9b6.zip
Move arch/x86 to new build system.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/Rules.mk')
-rw-r--r--xen/arch/x86/Rules.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk
index a83b8b3a07..9bd3c94443 100644
--- a/xen/arch/x86/Rules.mk
+++ b/xen/arch/x86/Rules.mk
@@ -33,13 +33,17 @@ CFLAGS += -DCONFIG_X86_SUPERVISOR_MODE_KERNEL=1
endif
ifeq ($(XEN_TARGET_ARCH),x86_32)
-LDFLAGS += -m elf_i386
+LDFLAGS += -m elf_i386
+x86_32 := y
+x86_64 := n
endif
ifeq ($(TARGET_SUBARCH),x86_64)
CFLAGS += -mno-red-zone -fpic -fno-reorder-blocks
CFLAGS += -fno-asynchronous-unwind-tables
LDFLAGS += -m elf_x86_64
+x86_32 := n
+x86_64 := y
endif
# Test for at least GCC v3.2.x.