ia64/xen-unstable

changeset 7313:a9924f452b3a

Fix the legacy %-build targets for dist installation of
guest kernels.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Oct 11 10:01:23 2005 +0100 (2005-10-11)
parents e97436e48e56
children 4b93736d64f7
files Makefile buildconfigs/Rules.mk
line diff
     1.1 --- a/Makefile	Tue Oct 11 00:03:00 2005 +0100
     1.2 +++ b/Makefile	Tue Oct 11 10:01:23 2005 +0100
     1.3 @@ -66,7 +66,7 @@ install-tools:
     1.4  	$(MAKE) -C tools install
     1.5  
     1.6  install-kernels:
     1.7 -	for i in $(XKERNELS) ; do $(MAKE) $$i-build || exit 1; done
     1.8 +	for i in $(XKERNELS) ; do $(MAKE) $$i-install || exit 1; done
     1.9  
    1.10  install-docs:
    1.11  	sh ./docs/check_pkgs && $(MAKE) -C docs install || true
     2.1 --- a/buildconfigs/Rules.mk	Tue Oct 11 00:03:00 2005 +0100
     2.2 +++ b/buildconfigs/Rules.mk	Tue Oct 11 10:01:23 2005 +0100
     2.3 @@ -87,9 +87,17 @@ ref-%/.valid-ref: pristine-%/.valid-pris
     2.4  	touch $@ # update timestamp to avoid rebuild
     2.5  endif
     2.6  
     2.7 -%-build:
     2.8 +%-install:
     2.9  	$(MAKE) -f buildconfigs/mk.$* build
    2.10  
    2.11 +%-dist: DESTDIR=$(DISTDIR)/install
    2.12 +%-dist: %-install
    2.13 +	@: # do nothing
    2.14 +
    2.15 +# Legacy dist target
    2.16 +%-build: %-dist
    2.17 +	@: # do nothing
    2.18 +
    2.19  %-delete:
    2.20  	$(MAKE) -f buildconfigs/mk.$* delete
    2.21