From 97e8f14b87c39052aeaf017b7e5aef1e329486a0 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Mon, 9 Jul 2007 11:29:39 +0100 Subject: 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 --- buildconfigs/mk.linux-2.6-xen | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'buildconfigs/mk.linux-2.6-xen') 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) -- cgit v1.2.3