ia64/xen-unstable

annotate netbsd-2.0-xen-sparse/Makefile @ 2443:e1636300e803

bitkeeper revision 1.1159.72.1 (413cb1f9MtRHM7cQFiJRcJ1gYUPxdw)

Add NetBSD support.
author cl349@labyrinth.cl.cam.ac.uk
date Mon Sep 06 18:52:41 2004 +0000 (2004-09-06)
parents
children 309c1fb27f87
rev   line source
cl349@2443 1 #
cl349@2443 2 #
cl349@2443 3 #
cl349@2443 4
cl349@2443 5 .PHONY: config 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@2443 10
cl349@2443 11 config:
cl349@2443 12 @mkdir -p compile/XEN
cl349@2443 13 cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbconfig-xen XEN
cl349@2443 14
cl349@2443 15 netbsd:
cl349@2443 16 cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen dependall
cl349@2443 17
cl349@2443 18 install:
cl349@2443 19 @mkdir -p $(dir $(INSTALL_PATH)/$(INSTALL_NAME))
cl349@2443 20 install -c compile/XEN/netbsd $(INSTALL_PATH)/$(INSTALL_NAME)