aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--tools/Makefile8
2 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 17abb5f7d7..662e31f549 100644
--- a/Makefile
+++ b/Makefile
@@ -83,6 +83,10 @@ endif
tools/ioemu-dir:
$(MAKE) -C tools ioemu-dir-find
+.PHONY: tools/ioemu-dir-force-update
+tools/ioemu-dir-force-update:
+ $(MAKE) -C tools ioemu-dir-force-update
+
.PHONY: install-docs
install-docs:
sh ./docs/check_pkgs && $(MAKE) -C docs install || true
diff --git a/tools/Makefile b/tools/Makefile
index ed70b93a84..b5ca635409 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -117,6 +117,14 @@ ioemu-dir-find:
cd ioemu-dir; \
./xen-setup $(IOEMU_CONFIGURE_CROSS)
+.PHONY: ioemu-dir-force-update
+ioemu-dir-force-update:
+ set -ex; \
+ if [ "$(QEMU_TAG)" ]; then \
+ cd ioemu-remote; \
+ $(GIT) reset --hard $(QEMU_TAG); \
+ fi
+
subdir-all-ioemu-dir subdir-install-ioemu-dir: ioemu-dir-find
subdir-clean-ioemu-dir: