aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs/mk.linux-2.6-xen
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@xensource.com>2007-07-09 11:29:39 +0100
committerIan Campbell <ian.campbell@xensource.com>2007-07-09 11:29:39 +0100
commit97e8f14b87c39052aeaf017b7e5aef1e329486a0 (patch)
tree70a05aa27be81cdeb5188a76bb49b0022cf10c57 /buildconfigs/mk.linux-2.6-xen
parent2141bdd107a177a87f010853ee998107ae77bb96 (diff)
downloadxen-97e8f14b87c39052aeaf017b7e5aef1e329486a0.tar.gz
xen-97e8f14b87c39052aeaf017b7e5aef1e329486a0.tar.bz2
xen-97e8f14b87c39052aeaf017b7e5aef1e329486a0.zip
Add hooks for a script to update kernel configuration after tree has been
prepared. This is to support upstream sources which do not enable Xen in their default configurations. Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Diffstat (limited to 'buildconfigs/mk.linux-2.6-xen')
-rw-r--r--buildconfigs/mk.linux-2.6-xen4
1 files changed, 4 insertions, 0 deletions
diff --git a/buildconfigs/mk.linux-2.6-xen b/buildconfigs/mk.linux-2.6-xen
index a0c6916349..4fd195b397 100644
--- a/buildconfigs/mk.linux-2.6-xen
+++ b/buildconfigs/mk.linux-2.6-xen
@@ -74,6 +74,10 @@ $(LINUX_DIR)/include/linux/autoconf.h: $(LINUX_SRCDIR)/.valid-src
else \
echo "No configuration method found for this kernel" ; \
fi
+ifneq ($(XEN_LINUX_CONFIG_UPDATE),)
+ echo "Updating $(CONFIG_FILE) using $(XEN_LINUX_CONFIG_UPDATE)"
+ sh $(XEN_LINUX_CONFIG_UPDATE) $(CONFIG_FILE)
+endif
ifeq ($(XEN_TARGET_ARCH),x86_32)
ifeq ($(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)