diff options
author | Paolo Bonzini | 2021-05-12 09:21:56 +0200 |
---|---|---|
committer | Paolo Bonzini | 2021-05-26 14:49:45 +0200 |
commit | 2d652f24cc0064bc314dc9775dbd5ba4d8282f10 (patch) | |
tree | 225977703dd2207b3beffb38f8de8e1d0ba039a1 /Makefile | |
parent | configure: check for submodules if --with-git-submodules=ignore (diff) | |
download | qemu-2d652f24cc0064bc314dc9775dbd5ba4d8282f10.tar.gz qemu-2d652f24cc0064bc314dc9775dbd5ba4d8282f10.tar.xz qemu-2d652f24cc0064bc314dc9775dbd5ba4d8282f10.zip |
configure: simplify assignment to GIT_SUBMODULES
Do not guard each assignment with a check for --with-git-submodules=ignore.
To avoid a confusing "GIT" line from the Makefile, guard the git-submodule-update
recipe so that it is empty when --with-git-submodules=ignore.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,9 +48,11 @@ Makefile: .git-submodule-status .PHONY: git-submodule-update git-submodule-update: +ifneq ($(GIT_SUBMODULES_ACTION),ignore) $(call quiet-command, \ (GIT="$(GIT)" "$(SRC_PATH)/scripts/git-submodule.sh" $(GIT_SUBMODULES_ACTION) $(GIT_SUBMODULES)), \ "GIT","$(GIT_SUBMODULES)") +endif # 0. ensure the build tree is okay |