[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-3.2-testing] [BUILD] Add option to ensure kernel build is non-interactive.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1213002647 -3600
# Node ID 0ba107453f28049d8e8f502e51552b4aa44a1317
# Parent  6c60d618b889353e875199d8128185014082b389
[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>
xen-unstable changeset:   17029:319a54d5c8048e25fb2ca3fc431ea7fc2039762d
xen-unstable date:        Tue Feb 12 14:57:36 2008 +0000
---
 buildconfigs/mk.linux-2.6-common |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletion(-)

diff -r 6c60d618b889 -r 0ba107453f28 buildconfigs/mk.linux-2.6-common
--- a/buildconfigs/mk.linux-2.6-common  Thu Jun 05 10:50:54 2008 +0100
+++ b/buildconfigs/mk.linux-2.6-common  Mon Jun 09 10:10:47 2008 +0100
@@ -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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.