aboutsummaryrefslogtreecommitdiffstats
path: root/buildconfigs
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-12 14:57:36 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-12 14:57:36 +0000
commitb650bde790d6e2c918de3d2ce3b2a89d56b25896 (patch)
treea1069fb5a633a7ef51785fb4c5789ed5782a14ad /buildconfigs
parent0243b256d6187ea610174531607366945e489605 (diff)
downloadxen-b650bde790d6e2c918de3d2ce3b2a89d56b25896.tar.gz
xen-b650bde790d6e2c918de3d2ce3b2a89d56b25896.tar.bz2
xen-b650bde790d6e2c918de3d2ce3b2a89d56b25896.zip
[BUILD] Add option to ensure kernel build is non-interactive.
This is useful for the non 2.6.18-xen builds where the defconfig at any particular momement may require additional questions to be answered. Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'buildconfigs')
-rw-r--r--buildconfigs/mk.linux-2.6-common8
1 files changed, 7 insertions, 1 deletions
diff --git a/buildconfigs/mk.linux-2.6-common b/buildconfigs/mk.linux-2.6-common
index 35150591b5..5b6810c56d 100644
--- a/buildconfigs/mk.linux-2.6-common
+++ b/buildconfigs/mk.linux-2.6-common
@@ -14,6 +14,12 @@ else
__XEN_LINUX_UPDATE =
endif
+ifeq ($(XEN_LINUX_NONINTERACTIVE_CONFIG),y)
+__NONINT_CONFIG = yes $$'\n' |
+else
+__NONINT_CONFIG =
+endif
+
# Let XEN_TARGET_ARCH override ARCH.
ifeq ($(XEN_TARGET_ARCH),x86_32)
LINUX_ARCH ?= i386
@@ -102,7 +108,7 @@ endif
ifneq ($(EXTRAVERSION),)
echo "$(EXTRAVERSION)" >$(LINUX_DIR)/localversion-xen
endif
- $(MAKE) -C $(LINUX_SRCDIR) ARCH=$(LINUX_ARCH) oldconfig O=$$(/bin/pwd)/$(LINUX_DIR)
+ $(__NONINT_CONFIG) $(MAKE) -C $(LINUX_SRCDIR) ARCH=$(LINUX_ARCH) oldconfig O=$$(/bin/pwd)/$(LINUX_DIR)
@set -e ; if [ ! -f $(LINUX_DIR)/Makefile ] ; then \
echo "***********************************"; \
echo "oldconfig did not create a Makefile"; \