|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] [BUILD] Add option to ensure kernel build
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1202828256 0
# Node ID 319a54d5c8048e25fb2ca3fc431ea7fc2039762d
# Parent a905c582a406f60cf44a8884843129c085b18a30
[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@xxxxxxxxxx>
---
buildconfigs/mk.linux-2.6-common | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
diff -r a905c582a406 -r 319a54d5c804 buildconfigs/mk.linux-2.6-common
--- a/buildconfigs/mk.linux-2.6-common Tue Feb 12 14:35:39 2008 +0000
+++ b/buildconfigs/mk.linux-2.6-common Tue Feb 12 14:57:36 2008 +0000
@@ -12,6 +12,12 @@ __XEN_LINUX_UPDATE = $(LINUX_SRCDIR)/.fo
__XEN_LINUX_UPDATE = $(LINUX_SRCDIR)/.force-update
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.
@@ -102,7 +108,7 @@ ifneq ($(EXTRAVERSION),)
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"; \
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] [BUILD] Add option to ensure kernel build is non-interactive.,
Xen patchbot-unstable <=
|
|
|
|
|