|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Call makefile recursively for subdirs.
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1201361201 0
# Node ID 7f2b79c0598809e20fd1d577ab6eeae4531214c4
# Parent 1fe8c8a275c9023b4420244c610a22148a4fb5bc
Call makefile recursively for subdirs.
This makes it possible to handle subdirs differently.
Signed-off-by: Bastian Blank <waldi@xxxxxxxxxx>
---
tools/Makefile | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff -r 1fe8c8a275c9 -r 7f2b79c05988 tools/Makefile
--- a/tools/Makefile Sat Jan 26 15:26:15 2008 +0000
+++ b/tools/Makefile Sat Jan 26 15:26:41 2008 +0000
@@ -37,14 +37,14 @@ endif
.PHONY: all
all: check
@set -e; for subdir in $(SUBDIRS-y); do \
- $(MAKE) -C $$subdir $@; \
+ $(MAKE) subdir-$@-$$subdir; \
done
$(MAKE) ioemu
.PHONY: install
install: check
@set -e; for subdir in $(SUBDIRS-y); do \
- $(MAKE) -C $$subdir $@; \
+ $(MAKE) subdir-$@-$$subdir; \
done
$(MAKE) ioemuinstall
$(INSTALL_DIR) $(DESTDIR)/var/xen/dump
@@ -54,12 +54,21 @@ install: check
.PHONY: clean
clean: check_clean
@set -e; for subdir in $(SUBDIRS-y); do \
- $(MAKE) -C $$subdir $@; \
+ $(MAKE) subdir-$@-$$subdir; \
done
$(MAKE) ioemuclean
.PHONY: distclean
distclean: clean
+
+subdir-all-%:
+ $(MAKE) -C $* all
+
+subdir-clean-%:
+ $(MAKE) -C $* clean
+
+subdir-install-%:
+ $(MAKE) -C $* install
.PHONY: check
check:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Call makefile recursively for subdirs.,
Xen patchbot-unstable <=
|
|
|
|
|