WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] [BUILD] Add option to ensure kernel build

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [BUILD] Add option to ensure kernel build is non-interactive.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Feb 2008 09:10:13 -0800
Delivery-date: Tue, 12 Feb 2008 09:10:24 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=