ia64/xen-unstable

changeset 17043:319a54d5c804

[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>
author Keir Fraser <keir.fraser@citrix.com>
date Tue Feb 12 14:57:36 2008 +0000 (2008-02-12)
parents a905c582a406
children 419a141ca16d
files buildconfigs/mk.linux-2.6-common
line diff
     1.1 --- a/buildconfigs/mk.linux-2.6-common	Tue Feb 12 14:35:39 2008 +0000
     1.2 +++ b/buildconfigs/mk.linux-2.6-common	Tue Feb 12 14:57:36 2008 +0000
     1.3 @@ -14,6 +14,12 @@ else
     1.4  __XEN_LINUX_UPDATE =
     1.5  endif
     1.6  
     1.7 +ifeq ($(XEN_LINUX_NONINTERACTIVE_CONFIG),y)
     1.8 +__NONINT_CONFIG = yes $$'\n' |
     1.9 +else
    1.10 +__NONINT_CONFIG =
    1.11 +endif
    1.12 +
    1.13  # Let XEN_TARGET_ARCH override ARCH.
    1.14  ifeq ($(XEN_TARGET_ARCH),x86_32)
    1.15  LINUX_ARCH	?= i386
    1.16 @@ -102,7 +108,7 @@ endif
    1.17  ifneq ($(EXTRAVERSION),)
    1.18  	echo "$(EXTRAVERSION)" >$(LINUX_DIR)/localversion-xen
    1.19  endif
    1.20 -	$(MAKE) -C $(LINUX_SRCDIR) ARCH=$(LINUX_ARCH) oldconfig O=$$(/bin/pwd)/$(LINUX_DIR)
    1.21 +	$(__NONINT_CONFIG) $(MAKE) -C $(LINUX_SRCDIR) ARCH=$(LINUX_ARCH) oldconfig O=$$(/bin/pwd)/$(LINUX_DIR)
    1.22  	@set -e ; if [ ! -f $(LINUX_DIR)/Makefile ] ; then \
    1.23  	    echo "***********************************"; \
    1.24  	    echo "oldconfig did not create a Makefile"; \