mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
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:
1 parent
6325bf54ce
commit
00691c6c90
1 file changed
+2
-1
+2
-1
@@ -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
|
||||
|
||||