ia64/xen-unstable

changeset 3885:e417ab6438a7

bitkeeper revision 1.1230.2.3 (421a8b4cm10sqtsFEvc7uzbhBbWSaQ)

Support "make linux-2.6-xenU-config" and similar. Defaults to run menuconfig,
but canbe overriden on Make's command line by setting CONFIGMODE.
Signed-off-by: chris@xensource.com
author cl349@arcadians.cl.cam.ac.uk
date Tue Feb 22 01:30:52 2005 +0000 (2005-02-22)
parents 8406b26684e2
children 4385894c52ae
files buildconfigs/Rules.mk buildconfigs/mk.linux-2.4-xen0 buildconfigs/mk.linux-2.4-xenU buildconfigs/mk.linux-2.6-xen0 buildconfigs/mk.linux-2.6-xenU
line diff
     1.1 --- a/buildconfigs/Rules.mk	Tue Feb 22 01:15:04 2005 +0000
     1.2 +++ b/buildconfigs/Rules.mk	Tue Feb 22 01:30:52 2005 +0000
     1.3 @@ -61,6 +61,9 @@ pristine-%: %.tar.bz2
     1.4  %-clean:
     1.5  	$(MAKE) -f buildconfigs/mk.$* clean
     1.6  
     1.7 +%-config:
     1.8 +	$(MAKE) -f buildconfigs/mk.$* config
     1.9 +
    1.10  %-xen.patch: pristine-%
    1.11  	rm -rf tmp-$@
    1.12  	cp -al $< tmp-$@
     2.1 --- a/buildconfigs/mk.linux-2.4-xen0	Tue Feb 22 01:15:04 2005 +0000
     2.2 +++ b/buildconfigs/mk.linux-2.4-xen0	Tue Feb 22 01:30:52 2005 +0000
     2.3 @@ -44,6 +44,11 @@ patches/tmp/ebtables.diff:
     2.4  	make -C $(LINUX_DIR) ARCH=xen oldconfig
     2.5  	make -C $(LINUX_DIR) ARCH=xen dep
     2.6  
     2.7 +config: CONFIGMODE = menuconfig
     2.8 +config: $(LINUX_DIR)/include/linux/autoconf.h
     2.9 +	$(MAKE) -C $(LINUX_DIR) ARCH=xen $(CONFIGMODE)
    2.10 +	$(MAKE) -C $(LINUX_DIR) ARCH=xen dep
    2.11 +
    2.12  clean:
    2.13  	$(MAKE) -C $(LINUX_DIR) ARCH=xen clean
    2.14  
     3.1 --- a/buildconfigs/mk.linux-2.4-xenU	Tue Feb 22 01:15:04 2005 +0000
     3.2 +++ b/buildconfigs/mk.linux-2.4-xenU	Tue Feb 22 01:30:52 2005 +0000
     3.3 @@ -37,6 +37,11 @@ build: $(LINUX_DIR)/include/linux/autoco
     3.4  	make -C $(LINUX_DIR) ARCH=xen oldconfig
     3.5  	make -C $(LINUX_DIR) ARCH=xen dep
     3.6  
     3.7 +config: CONFIGMODE = menuconfig
     3.8 +config: $(LINUX_DIR)/include/linux/autoconf.h
     3.9 +	$(MAKE) -C $(LINUX_DIR) ARCH=xen $(CONFIGMODE)
    3.10 +	$(MAKE) -C $(LINUX_DIR) ARCH=xen dep
    3.11 +
    3.12  clean:
    3.13  	$(MAKE) -C $(LINUX_DIR) ARCH=xen clean
    3.14  
     4.1 --- a/buildconfigs/mk.linux-2.6-xen0	Tue Feb 22 01:15:04 2005 +0000
     4.2 +++ b/buildconfigs/mk.linux-2.6-xen0	Tue Feb 22 01:30:52 2005 +0000
     4.3 @@ -36,6 +36,10 @@ build: $(LINUX_DIR)/include/linux/autoco
     4.4  		$(LINUX_DIR)/.config
     4.5  	$(MAKE) -C $(LINUX_DIR) ARCH=xen oldconfig
     4.6  
     4.7 +config: CONFIGMODE = menuconfig
     4.8 +config: $(LINUX_DIR)/include/linux/autoconf.h
     4.9 +	$(MAKE) -C $(LINUX_DIR) ARCH=xen $(CONFIGMODE)
    4.10 +
    4.11  clean:
    4.12  	$(MAKE) -C $(LINUX_DIR) ARCH=xen clean
    4.13  
     5.1 --- a/buildconfigs/mk.linux-2.6-xenU	Tue Feb 22 01:15:04 2005 +0000
     5.2 +++ b/buildconfigs/mk.linux-2.6-xenU	Tue Feb 22 01:30:52 2005 +0000
     5.3 @@ -36,6 +36,10 @@ build: $(LINUX_DIR)/include/linux/autoco
     5.4  		$(LINUX_DIR)/.config
     5.5  	$(MAKE) -C $(LINUX_DIR) ARCH=xen oldconfig
     5.6  
     5.7 +config: CONFIGMODE = menuconfig
     5.8 +config: $(LINUX_DIR)/include/linux/autoconf.h
     5.9 +	$(MAKE) -C $(LINUX_DIR) ARCH=xen $(CONFIGMODE)
    5.10 +
    5.11  clean:
    5.12  	$(MAKE) -C $(LINUX_DIR) ARCH=xen clean
    5.13