direct-io.hg

view buildconfigs/mk.netbsd-2.0-xenU @ 4849:a68686aaebc3

bitkeeper revision 1.1389.15.13 (42821f23dLMLc5Ql8Y-rUwoatYBI6g)

Split out context fetching into separate DOM0 op
make GETDOMAININFO a little more sensible with respect to MP
make coredump dump all cpu contexts
Signed-off-by: Kip Macy <kmacy@netapp.com>
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author cl349@firebug.cl.cam.ac.uk[cl349]
date Wed May 11 15:05:07 2005 +0000 (2005-05-11)
parents a01199a95070
children e9ca570f9023 d16ae85cb89e
line source
2 NETBSD_RELEASE ?= 2.0
3 NETBSD_CVSSNAP ?= 20050309
5 EXTRAVERSION = xenU
7 FULLVERSION = $(NETBSD_VER)-$(EXTRAVERSION)
9 NETBSD_DIR = netbsd-$(FULLVERSION)
11 .PHONY: build clean mrproper mkpatch
13 include buildconfigs/Rules.mk
15 build: netbsd-$(EXTRAVERSION)
17 netbsd-%-tools.tar.bz2:
18 @echo "Cannot find netbsd-$(NETBSD_VER)-tools.tar.gz in path $(NETBSD_SRC_PATH)"
19 wget http://www.cl.cam.ac.uk/Research/SRG/netos/xen/downloads/netbsd-$*-tools.tar.bz2 -O./$@
21 netbsd-%-tools: netbsd-%-tools.tar.bz2
22 tar -jxf $<
23 touch $@ # update timestamp to avoid rebuild
25 $(NETBSD_DIR)/.valid: pristine-netbsd-$(NETBSD_VER)
26 $(RM) -rf $(NETBSD_DIR)
27 cp -al $< $(NETBSD_DIR)
28 # Apply arch-xen patches
29 ( cd netbsd-$(NETBSD_VER)-xen-sparse ; \
30 ./mkbuildtree ../$(NETBSD_DIR) )
31 @touch $(NETBSD_DIR)/.valid
33 # build the specified netbsd tree
34 netbsd-xen%: $(NETBSD_DIR)/.valid netbsd-$(NETBSD_RELEASE)-tools
35 $(MAKE) -C netbsd-$(FULLVERSION) config
36 $(MAKE) -C netbsd-$(FULLVERSION) netbsd
37 $(MAKE) -C netbsd-$(FULLVERSION) INSTALL_PATH=$(DESTDIR) INSTALL_NAME=boot/netbsd-$(NETBSD_VER)-xen$* install
39 clean:
40 $(MAKE) -C netbsd-$(FULLVERSION) clean
42 delete:
43 rm -rf tmp-netbsd-$(NETBSD_VER) $(NETBSD_DIR)