]> git.proxmox.com Git - mirror_qemu.git/commit - Makefile
makefile: handle -n / -k / -q correctly
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 26 Oct 2020 15:58:54 +0000 (11:58 -0400)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 27 Oct 2020 09:53:51 +0000 (09:53 +0000)
commitc8e6cfba1291df2202bf406bb5137c9d365505d1
tree37678eb9be23d909c798fddd1a3a4a4b582808a9
parent8d77ce1d89a208e2de14dc216e42a54657cdc614
makefile: handle -n / -k / -q correctly

Use $(findstring) instead of $(filter) to detect -n/-k
as different versions of MAKE fill in $(MAKEFLAGS) differently.
Do not bother running ninja at all if -nq is passed.

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20201026155854.3074290-1-pbonzini@redhat.com>
Makefile