From: George Dunlap <george.dunlap@eu.citrix.com>
To: xen-devel@lists.xen.org
Cc: George Dunlap <george.dunlap@eu.citrix.com>,
Ian Jackson <ian.jackson@citrix.com>,
Ian Campbell <ian.campbell@citrix.com>
Subject: [PATCH 4/5] make: Add subtree-update target
Date: Mon, 14 Jul 2014 17:15:25 +0100 [thread overview]
Message-ID: <1405354526-20929-4-git-send-email-george.dunlap@eu.citrix.com> (raw)
In-Reply-To: <1405354526-20929-1-git-send-email-george.dunlap@eu.citrix.com>
subtree-update will update all subtrees according to the current TAG specified
in Config.mk.
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com>
---
CC: Ian Campbell <ian.campbell@citrix.com>
CC: Ian Jackson <ian.jackson@citrix.com>
---
Makefile | 4 ++++
tools/Makefile | 9 +++++++++
tools/firmware/Makefile | 8 ++++++++
3 files changed, 21 insertions(+)
diff --git a/Makefile b/Makefile
index 41dabbf..b804bcf 100644
--- a/Makefile
+++ b/Makefile
@@ -135,6 +135,10 @@ debball: dist
rpmball: dist
bash ./tools/misc/mkrpm $(XEN_ROOT) $$($(MAKE) -C xen xenversion --no-print-directory)
+.PHONY: subtree-update
+subtree-update:
+ $(MAKE) -C tools subtree-update
+
.PHONY: clean
clean::
$(MAKE) -C xen clean
diff --git a/tools/Makefile b/tools/Makefile
index b6476c9..8725c59 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -240,3 +240,12 @@ subdir-all-debugger/kdd: .phony
subdir-distclean-firmware: .phony
$(MAKE) -C firmware distclean
+
+subtree-update:
+ifeq ($(CONFIG_QEMU_XEN),y)
+ $(MAKE) qemu-xen-dir-force-update
+endif
+ifeq ($(CONFIG_QEMU_TRAD),y)
+ $(MAKE) qemu-xen-traditional-dir-force-update
+endif
+ $(MAKE) -C firmware subtree-update
diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile
index 660bacb..377a8cf 100644
--- a/tools/firmware/Makefile
+++ b/tools/firmware/Makefile
@@ -88,3 +88,11 @@ subdir-clean-seabios-dir:
set -e; if test -d seabios-dir/.; then \
$(MAKE) -C seabios-dir clean; \
fi
+
+subtree-update:
+ifeq ($(CONFIG_SEABIOS),y)
+ $(MAKE) seabios-dir-force-update
+endif
+ifeq ($(CONFIG_OVMF),y)
+ $(MAKE) ovmf-dir-force-update
+endif
--
1.7.9.5
next prev parent reply other threads:[~2014-07-14 16:15 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-14 16:15 [PATCH 1/5] make: Check tools/qemu-xen[-traditional] for qemu before downloading George Dunlap
2014-07-14 16:15 ` [PATCH 2/5] make: Normalize config options for external trees George Dunlap
2014-07-16 8:58 ` Ian Campbell
2014-07-16 14:53 ` Ian Jackson
2014-07-21 10:22 ` Olaf Hering
2014-07-21 10:28 ` George Dunlap
2014-07-21 10:44 ` Olaf Hering
2014-07-21 10:46 ` George Dunlap
2014-07-21 10:49 ` Olaf Hering
2014-07-14 16:15 ` [PATCH 3/5] make: Make *-dir-force-update depend on *-dir-find George Dunlap
2014-07-16 14:53 ` Ian Jackson
2014-07-14 16:15 ` George Dunlap [this message]
2014-07-16 9:00 ` [PATCH 4/5] make: Add subtree-update target Ian Campbell
2014-07-16 14:54 ` Ian Jackson
2014-07-14 16:15 ` [PATCH 5/5] make: Make "src-tarball" target actually make a source tarball George Dunlap
2014-07-16 15:06 ` Ian Jackson
2014-07-16 16:56 ` Ian Campbell
2014-07-16 17:45 ` George Dunlap
2014-07-17 9:21 ` Ian Campbell
2014-07-17 16:46 ` George Dunlap
2014-07-18 10:45 ` Ian Jackson
2014-09-15 15:42 ` George Dunlap
2014-09-15 15:46 ` Ian Jackson
2014-07-16 9:02 ` [PATCH 1/5] make: Check tools/qemu-xen[-traditional] for qemu before downloading Ian Campbell
2014-07-16 14:50 ` Ian Jackson
2014-07-18 12:39 ` Ian Campbell
2014-07-23 10:52 ` Jan Beulich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1405354526-20929-4-git-send-email-george.dunlap@eu.citrix.com \
--to=george.dunlap@eu.citrix.com \
--cc=ian.campbell@citrix.com \
--cc=ian.jackson@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).