mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
really fix mkpatches to work correctly.
unfortunately, add some code duplication in mkpatches area. Signed-off-by: Vincent Hanquez <vincent@xensource.com>
This commit is contained in:
1 parent
cc5c32ece6
commit
df5dc503db
1 file changed
+6
-1
@@ -110,7 +110,12 @@ endif
|
||||
%-config:
|
||||
$(MAKE) -f buildconfigs/mk.$* config
|
||||
|
||||
linux-2.6-xen.patch: linux-$(LINUX_VER)-xen.patch
|
||||
linux-2.6-xen.patch: ref-linux-$(LINUX_VER)/.valid-ref
|
||||
rm -rf tmp-$@
|
||||
cp -al $(<D) tmp-$@
|
||||
( cd linux-2.6-xen-sparse && ./mkbuildtree ../tmp-$@ )
|
||||
diff -Nurp $(<D) tmp-$@ > $@ || true
|
||||
rm -rf tmp-$@
|
||||
|
||||
%-xen.patch: ref-%/.valid-ref
|
||||
rm -rf tmp-$@
|
||||
|
||||