From: Anthony PERARD Date: Thu, 19 Dec 2019 14:42:16 +0000 (+0000) Subject: tools: Allow to make *-dir-force-update without ./configure X-Git-Tag: archive/raspbian/4.14.0+80-gd101b417b7-1+rpi1^2~63^2~920 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=00691c6c90b2fd28d7b7037baeb288f6801e6182;p=xen.git tools: Allow to make *-dir-force-update without ./configure This also allows to run `make src-tarball` without first having to run `./configure`. Signed-off-by: Anthony PERARD Acked-by: Wei Liu --- diff --git a/tools/Rules.mk b/tools/Rules.mk index cf8935d6a3..31cf419ef4 100644 --- a/tools/Rules.mk +++ b/tools/Rules.mk @@ -239,7 +239,8 @@ subdir-all-% subdir-clean-% subdir-install-% subdir-uninstall-%: .phony subdir-distclean-%: .phony $(MAKE) -C $* distclean -ifeq (,$(findstring clean,$(MAKECMDGOALS))) +no-configure-targets := clean subtree-force-update-all %-dir-force-update +ifeq (,$(filter $(no-configure-targets),$(MAKECMDGOALS))) $(XEN_ROOT)/config/Tools.mk: $(error You have to run ./configure before building or installing the tools) endif