ia64/xen-unstable

changeset 9650:c83da0012e87

Remove unused netbsd build fragments.

Signed-Off-By: Homrs <horms@verge.net.au>
author kaf24@firebug.cl.cam.ac.uk
date Mon Apr 10 16:26:52 2006 +0100 (2006-04-10)
parents bdec77028194
children 095519654079
files buildconfigs/Rules.mk buildconfigs/mk.linux-2.6-xen
line diff
     1.1 --- a/buildconfigs/Rules.mk	Mon Apr 10 14:51:10 2006 +0000
     1.2 +++ b/buildconfigs/Rules.mk	Mon Apr 10 16:26:52 2006 +0100
     1.3 @@ -40,29 +40,6 @@ patch-%.bz2:
     1.4  	@echo "Cannot find $(@F) in path $(LINUX_SRC_PATH)"
     1.5  	wget $(KERNEL_REPO)/pub/linux/kernel/v$(_LINUX_VDIR)/$(_LINUX_XDIR)/$(@F) -O./$@
     1.6  
     1.7 -# Expand NetBSD release to NetBSD version
     1.8 -NETBSD_RELEASE  ?= 2.0
     1.9 -NETBSD_VER      ?= $(patsubst netbsd-%-xen-sparse,%,$(wildcard netbsd-$(NETBSD_RELEASE)*-xen-sparse))
    1.10 -NETBSD_CVSSNAP  ?= 20050309
    1.11 -
    1.12 -# Setup NetBSD search path
    1.13 -NETBSD_SRC_PATH	?= .:..
    1.14 -vpath netbsd-%.tar.bz2 $(NETBSD_SRC_PATH)
    1.15 -
    1.16 -# download a pristine NetBSD tarball if there isn't one in NETBSD_SRC_PATH
    1.17 -netbsd-%-xen-kernel-$(NETBSD_CVSSNAP).tar.bz2:
    1.18 -	@echo "Cannot find $@ in path $(NETBSD_SRC_PATH)"
    1.19 -	wget http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/$@ -O./$@
    1.20 -
    1.21 -netbsd-%.tar.bz2: netbsd-%-xen-kernel-$(NETBSD_CVSSNAP).tar.bz2
    1.22 -	ln -fs $< $@
    1.23 -
    1.24 -ifeq ($(OS),linux)
    1.25 -OS_VER = $(LINUX_VER)
    1.26 -else
    1.27 -OS_VER = $(NETBSD_VER)
    1.28 -endif
    1.29 -
    1.30  pristine-%: pristine-%/.valid-pristine
    1.31  	@true
    1.32  
    1.33 @@ -134,17 +111,10 @@ linux-2.6-xen.patch: ref-linux-$(LINUX_V
    1.34  	diff -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ || true
    1.35  	rm -rf tmp-$@
    1.36  
    1.37 -%-mrproper: %-mrproper-extra
    1.38 +%-mrproper:
    1.39  	rm -rf pristine-$(*)* ref-$(*)* $*.tar.bz2
    1.40  	rm -rf $*-xen.patch
    1.41  
    1.42 -netbsd-%-mrproper-extra:
    1.43 -	rm -rf netbsd-$*-tools netbsd-$*-tools.tar.bz2
    1.44 -	rm -f netbsd-$*-xen-kernel-$(NETBSD_CVSSNAP).tar.bz2
    1.45 -
    1.46 -%-mrproper-extra:
    1.47 -	@: # do nothing
    1.48 -
    1.49  config-update-pae:
    1.50  ifeq ($(XEN_TARGET_X86_PAE),y)
    1.51  	sed -e 's!^CONFIG_HIGHMEM4G=y$$!\# CONFIG_HIGHMEM4G is not set!;s!^\# CONFIG_HIGHMEM64G is not set$$!CONFIG_HIGHMEM64G=y!' $(CONFIG_FILE) > $(CONFIG_FILE)- && mv $(CONFIG_FILE)- $(CONFIG_FILE)
     2.1 --- a/buildconfigs/mk.linux-2.6-xen	Mon Apr 10 14:51:10 2006 +0000
     2.2 +++ b/buildconfigs/mk.linux-2.6-xen	Mon Apr 10 16:26:52 2006 +0100
     2.3 @@ -1,13 +1,10 @@
     2.4 -
     2.5 -OS           = linux
     2.6 -
     2.7  LINUX_SERIES = 2.6
     2.8  LINUX_VER    = 2.6.16
     2.9  LINUX_SRCS = linux-2.6.16.tar.bz2
    2.10  
    2.11  EXTRAVERSION ?= xen
    2.12  
    2.13 -LINUX_DIR    = $(OS)-$(LINUX_VER)-$(EXTRAVERSION)
    2.14 +LINUX_DIR    = linux-$(LINUX_VER)-$(EXTRAVERSION)
    2.15  
    2.16  include buildconfigs/Rules.mk
    2.17  
    2.18 @@ -22,7 +19,7 @@ build: $(LINUX_DIR)/include/linux/autoco
    2.19  	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_PATH=$(DESTDIR) vmlinuz
    2.20  	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) INSTALL_PATH=$(DESTDIR) install
    2.21  
    2.22 -$(LINUX_DIR)/include/linux/autoconf.h: ref-$(OS)-$(LINUX_VER)/.valid-ref
    2.23 +$(LINUX_DIR)/include/linux/autoconf.h: ref-linux-$(LINUX_VER)/.valid-ref
    2.24  	rm -rf $(LINUX_DIR)
    2.25  	cp -al $(<D) $(LINUX_DIR)
    2.26  	# Apply arch-xen patches
    2.27 @@ -52,4 +49,4 @@ clean::
    2.28  	$(MAKE) -C $(LINUX_DIR) ARCH=$(LINUX_ARCH) clean
    2.29  
    2.30  delete: 
    2.31 -	rm -rf tmp-$(OS)-$(LINUX_VER) $(LINUX_DIR) 
    2.32 +	rm -rf tmp-linux-$(LINUX_VER) $(LINUX_DIR)