From mboxrd@z Thu Jan 1 00:00:00 1970 From: George Dunlap Subject: [PATCH 4/5] make: Add subtree-update target Date: Mon, 14 Jul 2014 17:15:25 +0100 Message-ID: <1405354526-20929-4-git-send-email-george.dunlap@eu.citrix.com> References: <1405354526-20929-1-git-send-email-george.dunlap@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1405354526-20929-1-git-send-email-george.dunlap@eu.citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: George Dunlap , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org subtree-update will update all subtrees according to the current TAG specified in Config.mk. Signed-off-by: George Dunlap --- CC: Ian Campbell CC: Ian Jackson --- 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