|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] allow clean build when sparse trees/patches not pres
When building in a tree with (the sparse trees and) the patches
stripped,
a warning is issued by make, which the below patch eliminates.
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
diff -Npru /home/jbeulich/src/xen/2005-08-20/buildconfigs/Rules.mk
2005-08-20/buildconfigs/Rules.mk
---
/home/jbeulich/src/xen/2005-08-20/buildconfigs/Rules.mk 2005-08-04
01:13:58.000000000 +0200
+++ 2005-08-20/buildconfigs/Rules.mk 2005-08-20 11:42:41.000000000
+0200
@@ -66,6 +66,7 @@ pristine-%/.valid-pristine: %.tar.bz2
PATCHDIRS := $(wildcard patches/*-*)
+ifneq ($(PATCHDIRS),)
-include $(patsubst %,%/.makedep,$(PATCHDIRS))
$(patsubst patches/%,patches/%/.makedep,$(PATCHDIRS)):
patches/%/.makedep:
@@ -80,6 +81,7 @@ ref-%/.valid-ref: pristine-%/.valid-pris
([ -d patches/$* ] && \
for i in patches/$*/*.patch ; do ( cd $(@D) ; patch -p1
<../$$i || exit 1 ) ; done) || true
touch $@ # update timestamp to avoid rebuild
+endif
%-build:
$(MAKE) -f buildconfigs/mk.$* build
xen-no-sparse.patch
Description: Binary data
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] allow clean build when sparse trees/patches not present,
Jan Beulich <=
|
|
|
|
|