From 1ae93d3db81447c101b7fd7af0dc61a53246cbd3 Mon Sep 17 00:00:00 2001 From: George Dunlap Date: Mon, 14 Jul 2014 17:15:24 +0100 Subject: [PATCH] make: Make *-dir-force-update depend on *-dir-find Make the targets depend on the "-find" targets, so that if the subtrees are cloned if they haven't been cloned already. Signed-off-by: George Dunlap Acked-by: Ian Jackson --- tools/Makefile | 4 ++-- tools/firmware/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/Makefile b/tools/Makefile index 0c4e49c1d3..b6476c909e 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -134,7 +134,7 @@ qemu-xen-dir-find: fi .PHONY: qemu-xen-traditional-dir-force-update -qemu-xen-traditional-dir-force-update: +qemu-xen-traditional-dir-force-update: qemu-xen-traditional-dir-find set -ex; \ if [ "$(QEMU_TRADITIONAL_REVISION)" ]; then \ cd qemu-xen-traditional-dir-remote; \ @@ -164,7 +164,7 @@ subdir-clean-qemu-xen-traditional-dir: fi .PHONY: qemu-xen-dir-force-update -qemu-xen-dir-force-update: +qemu-xen-dir-force-update: qemu-xen-dir-find set -ex; \ if [ "$(QEMU_UPSTREAM_REVISION)" ]; then \ cd qemu-xen-dir-remote; \ diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile index 2c2ed34e2f..660bacbb73 100644 --- a/tools/firmware/Makefile +++ b/tools/firmware/Makefile @@ -62,7 +62,7 @@ subdir-distclean-seabios-dir: .phony rm -rf seabios-dir seabios-dir-remote .PHONY: ovmf-dir-force-update -ovmf-dir-force-update: +ovmf-dir-force-update: ovmf-dir set -ex; \ if [ "$(OVMF_UPSTREAM_REVISION)" ]; then \ cd ovmf-dir-remote; \ @@ -76,7 +76,7 @@ subdir-clean-ovmf: fi .PHONY: seabios-dir-force-update -seabios-dir-force-update: +seabios-dir-force-update: seabios-dir set -ex; \ if [ "$(SEABIOS_UPSTREAM_REVISION)" ]; then \ cd seabios-dir-remote; \ -- 2.39.5