ia64/xen-unstable

changeset 8280:08c0861679ce

really fix mkpatches to work correctly.
unfortunately, add some code duplication in mkpatches area.

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author vhanquez@kneesa.uk.xensource.com
date Thu Dec 08 08:57:55 2005 +0000 (2005-12-08)
parents 4480e22f2ef2
children 37e19db6ecc3
files buildconfigs/Rules.mk
line diff
     1.1 --- a/buildconfigs/Rules.mk	Thu Dec 08 08:09:09 2005 +0000
     1.2 +++ b/buildconfigs/Rules.mk	Thu Dec 08 08:57:55 2005 +0000
     1.3 @@ -110,7 +110,12 @@ endif
     1.4  %-config:
     1.5  	$(MAKE) -f buildconfigs/mk.$* config
     1.6  
     1.7 -linux-2.6-xen.patch: linux-$(LINUX_VER)-xen.patch
     1.8 +linux-2.6-xen.patch: ref-linux-$(LINUX_VER)/.valid-ref
     1.9 +	rm -rf tmp-$@
    1.10 +	cp -al $(<D) tmp-$@
    1.11 +	( cd linux-2.6-xen-sparse && ./mkbuildtree ../tmp-$@ )	
    1.12 +	diff -Nurp $(<D) tmp-$@ > $@ || true
    1.13 +	rm -rf tmp-$@
    1.14  
    1.15  %-xen.patch: ref-%/.valid-ref
    1.16  	rm -rf tmp-$@