ia64/xen-unstable

changeset 6006:8803b4adf164

Fix automatic toggling of PAE in Linux config files
Signed-off-by: ian@xensource.com
author iap10@freefall.cl.cam.ac.uk
date Wed Aug 03 08:52:28 2005 +0000 (2005-08-03)
parents ebe13fb42cd3
children 0824da1df80a 178b0b2dae51
files buildconfigs/Rules.mk
line diff
     1.1 --- a/buildconfigs/Rules.mk	Wed Aug 03 08:25:58 2005 +0000
     1.2 +++ b/buildconfigs/Rules.mk	Wed Aug 03 08:52:28 2005 +0000
     1.3 @@ -115,7 +115,7 @@ config-update-pae:
     1.4  ifeq ($(XEN_TARGET_X86_PAE),y)
     1.5  	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)
     1.6  else
     1.7 -	grep '^CONFIG_HIGHMEM64G=y' $(CONFIG_FILE) >/dev/null && sed -e 's!^CONFIG_HIGHMEM64G=y$$!\# CONFIG_HIGHMEM64G is not set!;s!^\# CONFIG_HIGHMEM4G is not set$$!CONFIG_HIGHMEM4G=y!' $(CONFIG_FILE) > $(CONFIG_FILE)- && mv $(CONFIG_FILE)- $(CONFIG_FILE) 
     1.8 +	grep '^CONFIG_HIGHMEM64G=y' $(CONFIG_FILE) >/dev/null && ( sed -e 's!^CONFIG_HIGHMEM64G=y$$!\# CONFIG_HIGHMEM64G is not set!;s!^\# CONFIG_HIGHMEM4G is not set$$!CONFIG_HIGHMEM4G=y!' $(CONFIG_FILE) > $(CONFIG_FILE)- && mv $(CONFIG_FILE)- $(CONFIG_FILE) ) || true
     1.9  endif
    1.10  
    1.11  # never delete any intermediate files.