ia64/xen-unstable

diff netbsd-2.0-xen-sparse/Makefile @ 4024:d779cc1ad0ae

bitkeeper revision 1.1159.258.28 (422e42e5yWRuW_i02udqDbLjol4GOQ)

Support compiling kernels other than the XEN one.
Signed-off-by: Christian Limpach <cl@NetBSD.org>
author cl349@firebug.cl.cam.ac.uk
date Wed Mar 09 00:27:17 2005 +0000 (2005-03-09)
parents 42df95ee8ac3
children 2a8ffe96dc3d 0dc3b8b8c298
line diff
     1.1 --- a/netbsd-2.0-xen-sparse/Makefile	Tue Mar 08 17:11:49 2005 +0000
     1.2 +++ b/netbsd-2.0-xen-sparse/Makefile	Wed Mar 09 00:27:17 2005 +0000
     1.3 @@ -7,18 +7,19 @@
     1.4  TOPDIR		?= $(shell pwd)
     1.5  NETBSD_RELEASE	?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
     1.6  NETBSD_VER	?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
     1.7 +NETBSD_KERNEL	?= XEN
     1.8  
     1.9  clean:
    1.10 -	@mkdir -p compile/XEN
    1.11 -	cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen cleandir
    1.12 +	@mkdir -p compile/$(NETBSD_KERNEL)
    1.13 +	cd compile/$(NETBSD_KERNEL) && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen cleandir
    1.14  
    1.15  config:
    1.16 -	@mkdir -p compile/XEN
    1.17 -	cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbconfig-xen XEN
    1.18 +	@mkdir -p compile/$(NETBSD_KERNEL)
    1.19 +	cd compile/$(NETBSD_KERNEL) && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbconfig-xen $(NETBSD_KERNEL)
    1.20  
    1.21  netbsd:
    1.22 -	cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen dependall
    1.23 +	cd compile/$(NETBSD_KERNEL) && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen dependall
    1.24  
    1.25  install:
    1.26  	@mkdir -p $(dir $(INSTALL_PATH)/$(INSTALL_NAME))
    1.27 -	install -c compile/XEN/netbsd $(INSTALL_PATH)/$(INSTALL_NAME)
    1.28 +	install -c compile/$(NETBSD_KERNEL)/netbsd $(INSTALL_PATH)/$(INSTALL_NAME)