ia64/xen-unstable

changeset 8416:870c7e7da81e

Currently there is no generic configure file to compile xenlinux on
ia64, since there're several different system types like HP-ZX, DIG,
etc. Current Makefile can't meet this need and default one
(xen0_defconfig_ia64) is only for HP-ZX type. Hence, this patch can
append an additional param to configuration file name to differentiate
system types when make.

Signed-off-by Zhang Xiantao <xiantao.zhang@intel.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Dec 20 12:52:38 2005 +0100 (2005-12-20)
parents b92a36713192
children b34f4169b12e
files Makefile buildconfigs/mk.linux-2.6-xen
line diff
     1.1 --- a/Makefile	Tue Dec 20 12:50:09 2005 +0100
     1.2 +++ b/Makefile	Tue Dec 20 12:52:38 2005 +0100
     1.3 @@ -10,7 +10,7 @@ XKERNELS := $(foreach kernel, $(KERNELS)
     1.4  # Export target architecture overrides to Xen and Linux sub-trees.
     1.5  ifneq ($(XEN_TARGET_ARCH),)
     1.6  SUBARCH := $(subst x86_32,i386,$(XEN_TARGET_ARCH))
     1.7 -export XEN_TARGET_ARCH SUBARCH
     1.8 +export XEN_TARGET_ARCH SUBARCH XEN_SYSTYPE
     1.9  endif
    1.10  
    1.11  # Default target must appear before any include lines
     2.1 --- a/buildconfigs/mk.linux-2.6-xen	Tue Dec 20 12:50:09 2005 +0100
     2.2 +++ b/buildconfigs/mk.linux-2.6-xen	Tue Dec 20 12:52:38 2005 +0100
     2.3 @@ -30,7 +30,7 @@ build: $(LINUX_DIR)/include/linux/autoco
     2.4  	CONFIG_VERSION=$$(sed -ne 's/^EXTRAVERSION = //p' $(LINUX_DIR)/Makefile); \
     2.5  	[ -r $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION-$(EXTRAVERSION) ] && \
     2.6  	  cp $(DESTDIR)/boot/config-$(LINUX_VER)$$CONFIG_VERSION-$(EXTRAVERSION) $(LINUX_DIR)/.config \
     2.7 -	  || cp $(LINUX_DIR)/arch/xen/configs/$(EXTRAVERSION)_defconfig_$(XEN_TARGET_ARCH) \
     2.8 +	  || cp $(LINUX_DIR)/arch/xen/configs/$(EXTRAVERSION)_defconfig_$(XEN_TARGET_ARCH)$(XEN_SYSTYPE) \
     2.9  		$(LINUX_DIR)/.config
    2.10  	# See if we need to munge config to enable PAE
    2.11  	$(MAKE) CONFIG_FILE=$(LINUX_DIR)/.config -f buildconfigs/Rules.mk config-update-pae