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 <anthony.perard@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
This commit is contained in:
Anthony PERARD authored and Wei Liu committed 2020-01-08 16:09:23 +00:00
1 parent 6325bf54ce
commit 00691c6c90
1 file changed
+2 -1
+2 -1
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.