aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-11 10:01:23 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2005-10-11 10:01:23 +0100
commit57a851d3a6226f7a62673a79ceb3b265fd1b6a8e (patch)
tree70af662529c321739a6b8fe8e2ba0ddf8e64b189
parent5119e92a7313ea92120fc79d4aec17f73a1d8472 (diff)
downloadxen-57a851d3a6226f7a62673a79ceb3b265fd1b6a8e.tar.gz
xen-57a851d3a6226f7a62673a79ceb3b265fd1b6a8e.tar.bz2
xen-57a851d3a6226f7a62673a79ceb3b265fd1b6a8e.zip
Fix the legacy %-build targets for dist installation of
guest kernels. Signed-off-by: Keir Fraser <keir@xensource.com>
-rw-r--r--Makefile2
-rw-r--r--buildconfigs/Rules.mk10
2 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 10b1fc8715..7b513c6209 100644
--- a/Makefile
+++ b/Makefile
@@ -66,7 +66,7 @@ install-tools:
$(MAKE) -C tools install
install-kernels:
- for i in $(XKERNELS) ; do $(MAKE) $$i-build || exit 1; done
+ for i in $(XKERNELS) ; do $(MAKE) $$i-install || exit 1; done
install-docs:
sh ./docs/check_pkgs && $(MAKE) -C docs install || true
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk
index e44a84e542..19887c5117 100644
--- a/buildconfigs/Rules.mk
+++ b/buildconfigs/Rules.mk
@@ -87,9 +87,17 @@ ref-%/.valid-ref: pristine-%/.valid-pristine
touch $@ # update timestamp to avoid rebuild
endif
-%-build:
+%-install:
$(MAKE) -f buildconfigs/mk.$* build
+%-dist: DESTDIR=$(DISTDIR)/install
+%-dist: %-install
+ @: # do nothing
+
+# Legacy dist target
+%-build: %-dist
+ @: # do nothing
+
%-delete:
$(MAKE) -f buildconfigs/mk.$* delete