aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs/Rules.mk
diff options
context:
space:
mode:
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>2005-07-27 00:27:36 +0000
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>2005-07-27 00:27:36 +0000
commit36df52b0a8a1a3e3aa35fbd810e6ec03821c778d (patch)
tree71b55d8ee81db154be32884bd69145492cab29a7 /buildconfigs/Rules.mk
parent44ff21af8ac00d85cd7ba536cf6f60e21395367a (diff)
downloadxen-36df52b0a8a1a3e3aa35fbd810e6ec03821c778d.tar.gz
xen-36df52b0a8a1a3e3aa35fbd810e6ec03821c778d.tar.bz2
xen-36df52b0a8a1a3e3aa35fbd810e6ec03821c778d.zip
Frob the Linux-2.6 configs to enable PAE (HIGHMEM_64G) if XEN_TARGET_X86_PAE=y
Signed-off-by: ian@xensource.com
Diffstat (limited to 'buildconfigs/Rules.mk')
-rw-r--r--buildconfigs/Rules.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
index 8c2969f25d..1455be04e9 100644
--- a/buildconfigs/Rules.mk
+++ b/buildconfigs/Rules.mk
@@ -111,5 +111,12 @@ netbsd-%-mrproper-extra:
%-mrproper-extra:
@: # do nothing
+config-update-pae:
+ifeq ($(XEN_TARGET_X86_PAE),y)
+ sed -e 's!^CONFIG_HIGHMEM4G=y$$!\# CONFIG_HIGHMEM4G is not set!;s!^\# CONFIG_HIGHMEM64G is not set$$!CONFIG_HIGHMEM64G=y!' $(CONFIG_FILE) > $(CONFIG_FILE)- && mv $(CONFIG_FILE)- $(CONFIG_FILE)
+else
+ @: # do nothing yet
+endif
+
# never delete any intermediate files.
.SECONDARY: