direct-io.hg
view netbsd-2.0-xen-sparse/Makefile @ 4312:a01199a95070
bitkeeper revision 1.1264 (4243449d-JwBVsSinjAWdYveMNhEjQ)
Initial attempt at merging shadow code with head of unstable tree.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
Initial attempt at merging shadow code with head of unstable tree.
Signed-off-by: michael.fetterman@cl.cam.ac.uk
author | mafetter@fleming.research |
---|---|
date | Thu Mar 24 22:52:13 2005 +0000 (2005-03-24) |
parents | 0a4b76b6b5a0 a13b9052d91d |
children |
line source
1 #
2 #
3 #
5 .PHONY: clean config install netbsd
7 TOPDIR ?= $(shell pwd)
8 NETBSD_RELEASE ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
9 NETBSD_VER ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
10 NETBSD_KERNEL ?= XEN
12 clean:
13 @mkdir -p compile/$(NETBSD_KERNEL)
14 cd compile/$(NETBSD_KERNEL) && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen cleandir
16 config:
17 @mkdir -p compile/$(NETBSD_KERNEL)
18 cd compile/$(NETBSD_KERNEL) && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbconfig-xen $(NETBSD_KERNEL)
20 netbsd:
21 cd compile/$(NETBSD_KERNEL) && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen dependall
23 install:
24 @mkdir -p $(dir $(INSTALL_PATH)/$(INSTALL_NAME))
25 install -c compile/$(NETBSD_KERNEL)/netbsd $(INSTALL_PATH)/$(INSTALL_NAME)