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>2005-07-13 15:02:49 +0000
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-07-13 15:02:49 +0000
commit8833f0bb9226f2bceea72a0d63f57b23dafc0d58 (patch)
treed30c3f22c4cd746d9afa1c5aa648954fa6162b85 /xen/arch/x86/Rules.mk
parent10c0f0a6c815d41d98b6052b8afab9eb03f91f8b (diff)
downloadxen-8833f0bb9226f2bceea72a0d63f57b23dafc0d58.tar.gz
xen-8833f0bb9226f2bceea72a0d63f57b23dafc0d58.tar.bz2
xen-8833f0bb9226f2bceea72a0d63f57b23dafc0d58.zip
Force PAE build of Xen by specifying 'pae=y' to make, or
by setting XEN_TARGET_X86_PAE=y (e.g., in Config.mk). Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/Rules.mk')
-rw-r--r--xen/arch/x86/Rules.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/xen/arch/x86/Rules.mk b/xen/arch/x86/Rules.mk
index 647640797d..0675d763cd 100644
--- a/xen/arch/x86/Rules.mk
+++ b/xen/arch/x86/Rules.mk
@@ -1,6 +1,12 @@
########################################
# x86-specific definitions
+#
+# If you change any of these configuration options then you must
+# 'make clean' before rebuilding.
+#
+pae ?= n
+
CFLAGS += -nostdinc -fno-builtin -fno-common -fno-strict-aliasing
CFLAGS += -iwithprefix include -Wall -Werror -Wno-pointer-arith -pipe
CFLAGS += -I$(BASEDIR)/include
@@ -24,6 +30,9 @@ CFLAGS += $(call test-gcc-flag,-fno-stack-protector-all)
ifeq ($(TARGET_SUBARCH),x86_32)
CFLAGS += -m32 -march=i686
LDFLAGS += -m elf_i386
+ifeq ($(pae),y)
+CFLAGS += -DCONFIG_X86_PAE=1
+endif
endif
ifeq ($(TARGET_SUBARCH),x86_64)