Exclude *.orig from mkpatches target
PATCH 1/1 Exclude *.orig from mkpatches target
Hi;
Attached trivial patch (against current xen-3.0.4-testing.hg) excludes *.orig from mkpatches targets which saves some space;
with *.orig;
-rw-r--r-- 1 caglar users 4465828 Oca 29 16:50 linux-2.6-xen.patch
without *.orig
-rw-r--r-- 1 caglar users 4150086 Oca 29 16:53 linux-2.6-xen.patch
buildconfigs/Rules.mk +1 -1
@@ -105,14 +105,14 @@ linux-2.6-xen.patch: ref-linux-$(LINUX_V rm -rf tmp-$@ cp -al $(<D) tmp-$@ ( cd linux-2.6-xen-sparse && bash ./mkbuildtree ../tmp-$@ ) - diff -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ || true + diff --exclude=*.orig -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ ||
true
rm -rf tmp-$@
%-xen.patch: ref-%/.valid-ref
rm -rf tmp-$@
cp -al $(<D) tmp-$@
( cd $*-xen-sparse && bash ./mkbuildtree ../tmp-$@ )
- diff -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ || true
+ diff --exclude=*.orig -Nurp $(patsubst ref%,pristine%,$(<D)) tmp-$@ > $@ ||
true
rm -rf tmp-$@
%-mrproper:
Cheers
Signature · 4 lines
S.Çağlar Onur <[email protected]> http://cekirdek.pardus.org.tr/~caglar/ Linux is like living in a teepee. No Windows, no Gates and an Apache in house!
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel