diff options
author | chris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com> | 2006-07-08 19:22:34 +0100 |
---|---|---|
committer | chris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com> | 2006-07-08 19:22:34 +0100 |
commit | 3d1d4c35fab8a2f2f90c8147cb72c4aee101f54c (patch) | |
tree | 50cb62939e59751cd86860466876560854eaac25 /buildconfigs/Rules.mk | |
parent | c0142256845e6fac89ee46f00a06b3ac6144340c (diff) | |
download | xen-3d1d4c35fab8a2f2f90c8147cb72c4aee101f54c.tar.gz xen-3d1d4c35fab8a2f2f90c8147cb72c4aee101f54c.tar.bz2 xen-3d1d4c35fab8a2f2f90c8147cb72c4aee101f54c.zip |
[BUILD] Fix re-use of existing config files in dist/install/boot.
- the name of the config file was computed incorrectly because of the
linux version number 4th digit being present in both LINUX_VER and
EXTRAVERSION extracted from the linux Makefile.
- DESTDIR was not set for the prep and config targets.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Diffstat (limited to 'buildconfigs/Rules.mk')
-rw-r--r-- | buildconfigs/Rules.mk | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/buildconfigs/Rules.mk b/buildconfigs/Rules.mk index 5e7d659a5b..0a508b782b 100644 --- a/buildconfigs/Rules.mk +++ b/buildconfigs/Rules.mk @@ -69,9 +69,6 @@ ref-%/.valid-ref: pristine-%/.valid-pristine touch $@ # update timestamp to avoid rebuild endif -%-prep: - $(MAKE) -f buildconfigs/mk.$* prep - %-install: $(MAKE) -f buildconfigs/mk.$* build @@ -83,15 +80,20 @@ endif %-build: %-dist @: # do nothing +%-prep: DESTDIR=$(DISTDIR)/install +%-prep: + $(MAKE) -f buildconfigs/mk.$* prep + +%-config: DESTDIR=$(DISTDIR)/install +%-config: + $(MAKE) -f buildconfigs/mk.$* config + %-delete: $(MAKE) -f buildconfigs/mk.$* delete %-clean: $(MAKE) -f buildconfigs/mk.$* clean -%-config: - $(MAKE) -f buildconfigs/mk.$* config - linux-2.6-xen.patch: ref-linux-$(LINUX_VER)/.valid-ref rm -rf tmp-$@ cp -al $(<D) tmp-$@ |