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-3.2-testing] [BUILD] Add option to ensure kernel bu

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.2-testing] [BUILD] Add option to ensure kernel build is non-interactive.
From: "Xen patchbot-3.2-testing" <patchbot-3.2-testing@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Jun 2008 21:10:25 -0700
Delivery-date: Mon, 09 Jun 2008 21:10:22 -0700
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 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.2-testing] [BUILD] Add option to ensure kernel build is non-interactive., Xen patchbot-3.2-testing <=