[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix the legacy %-build targets for dist installation of



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID a9924f452b3afbb0b5c5feff9c9875f96134d783
# Parent  e97436e48e56926eea0333fa122ee22692673c85
Fix the legacy %-build targets for dist installation of 
guest kernels.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r e97436e48e56 -r a9924f452b3a Makefile
--- a/Makefile  Mon Oct 10 23:03:00 2005
+++ b/Makefile  Tue Oct 11 09:01:23 2005
@@ -66,7 +66,7 @@
        $(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 -r e97436e48e56 -r a9924f452b3a buildconfigs/Rules.mk
--- a/buildconfigs/Rules.mk     Mon Oct 10 23:03:00 2005
+++ b/buildconfigs/Rules.mk     Tue Oct 11 09:01:23 2005
@@ -87,8 +87,16 @@
        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

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.