aboutsummaryrefslogtreecommitdiffstats
path: root/netbsd-2.0-xen-sparse/Makefile
diff options
context:
space:
mode:
authorcl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>2004-11-03 14:34:28 +0000
committercl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>2004-11-03 14:34:28 +0000
commitaa0dad2547223bea4fef6a5a3cf957223488aa4b (patch)
tree2a508ce56416f25a3d2ecdf09bbdc90f9b84f21d /netbsd-2.0-xen-sparse/Makefile
parentf9e80a02418e52780f0585e743b406a258852143 (diff)
downloadxen-aa0dad2547223bea4fef6a5a3cf957223488aa4b.tar.gz
xen-aa0dad2547223bea4fef6a5a3cf957223488aa4b.tar.bz2
xen-aa0dad2547223bea4fef6a5a3cf957223488aa4b.zip
bitkeeper revision 1.1159.153.1 (4188ec74U7gi2rpg0N_8N4PDuuf8Hg)
Cleanup NetBSD build system.
Diffstat (limited to 'netbsd-2.0-xen-sparse/Makefile')
-rw-r--r--netbsd-2.0-xen-sparse/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/netbsd-2.0-xen-sparse/Makefile b/netbsd-2.0-xen-sparse/Makefile
index def3b4427e..da82172aad 100644
--- a/netbsd-2.0-xen-sparse/Makefile
+++ b/netbsd-2.0-xen-sparse/Makefile
@@ -2,12 +2,16 @@
#
#
-.PHONY: config netbsd
+.PHONY: clean config install netbsd
TOPDIR ?= $(shell pwd)
NETBSD_RELEASE ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
NETBSD_VER ?= $(patsubst netbsd-%-xen%,%,$(notdir $(TOPDIR)))
+clean:
+ @mkdir -p compile/XEN
+ cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbmake-xen cleandir
+
config:
@mkdir -p compile/XEN
cd compile/XEN && TOPDIR=$(TOPDIR) NETBSD_VER=$(NETBSD_VER) ../../nbconfig-xen XEN