summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini2021-02-15 13:21:03 +0100
committerPaolo Bonzini2021-03-06 11:42:57 +0100
commitff012d9a52ea2ee9223ad5c78d19c0c6b6898690 (patch)
tree6105e27befd1446a089d3017a6abe57fac778c6c /Makefile
parentqemu-option: do not suggest using the delay option (diff)
downloadqemu-ff012d9a52ea2ee9223ad5c78d19c0c6b6898690.tar.gz
qemu-ff012d9a52ea2ee9223ad5c78d19c0c6b6898690.tar.xz
qemu-ff012d9a52ea2ee9223ad5c78d19c0c6b6898690.zip
build-sys: invoke ninja with -d keepdepfile
After reading the dependency file, ninja just deletes it, in the name of cleanliness I guess. However this complicates debugging unnecessarily compared to good old "-include *.d". Use the keepdepfile debugging option to make it easier to see what is going on. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20210215122103.63933-1-pbonzini@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d7fb6b270e..bcbbec71a1 100644
--- a/Makefile
+++ b/Makefile
@@ -149,7 +149,7 @@ $(ninja-targets): run-ninja
# --output-sync line.
run-ninja: config-host.mak
ifneq ($(filter $(ninja-targets), $(ninja-cmd-goals)),)
- +$(quiet-@)$(if $(MAKE.nq),@:, $(NINJA) \
+ +$(quiet-@)$(if $(MAKE.nq),@:, $(NINJA) -d keepdepfile \
$(NINJAFLAGS) $(sort $(filter $(ninja-targets), $(ninja-cmd-goals))) | cat)
endif
endif