ia64/xen-unstable

annotate netbsd-2.0-xen-sparse/Makefile @ 4055:a13b9052d91d

bitkeeper revision 1.1236.1.68 (422f5a4b3BG7Wh49f5-3defzeghSBw)

Merge bk://xen.bkbits.net/xeno-unstable.bk
into bkbits.net:/repos/x/xen-ia64/xeno-unstable-ia64.bk
author xen-ia64.adm@bkbits.net
date Wed Mar 09 20:19:23 2005 +0000 (2005-03-09)
parents 0a4b76b6b5a0 2a8ffe96dc3d
children a01199a95070
rev   line source
cl349@2443 1 #
cl349@2443 2 #
cl349@2443 3 #
cl349@2443 4
cl349@2846 5 .PHONY: clean config install netbsd
cl349@2443 6
cl349@2443 7 TOPDIR ?= $(shell pwd)
cl349@2443 8 NETBSD_RELEASE ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
cl349@2443 9 NETBSD_VER ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
cl349@4024 10 NETBSD_KERNEL ?= XEN
cl349@2443 11
cl349@2846 12 clean:
cl349@4024 13 @mkdir -p compile/$(NETBSD_KERNEL)
cl349@4024 14 cd compile/$(NETBSD_KERNEL) && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen cleandir
cl349@2846 15
cl349@2443 16 config:
cl349@4024 17 @mkdir -p compile/$(NETBSD_KERNEL)
cl349@4024 18 cd compile/$(NETBSD_KERNEL) && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbconfig-xen $(NETBSD_KERNEL)
cl349@2443 19
cl349@2443 20 netbsd:
cl349@4024 21 cd compile/$(NETBSD_KERNEL) && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen dependall
cl349@2443 22
cl349@2443 23 install:
cl349@2443 24 @mkdir -p $(dir $(INSTALL_PATH)/$(INSTALL_NAME))
cl349@4024 25 install -c compile/$(NETBSD_KERNEL)/netbsd $(INSTALL_PATH)/$(INSTALL_NAME)