Skip to contentSkip to conversation

Exclude *.orig from mkpatches target

PATCH New S.Çağlar Onur 1 participant 1 message Jan 29, 2007

lore
Share & tools
lore
#0 lore raw

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
diff -r 0be1a43e8ec6 buildconfigs/Rules.mk
@@ -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