From: Paolo Bonzini Date: Wed, 13 Mar 2019 10:51:14 +0000 (+0100) Subject: config-all-devices.mak: rebuild on reconfigure X-Git-Tag: v4.0.0-rc2~11^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7c11e574977a0addfbbdb89377c6f52affe64ec;p=thirdparty%2Fqemu.git config-all-devices.mak: rebuild on reconfigure This ensures that softmmu directories are culled after a "./configure --target-list=x86_64-linux-user". Reviewed-by: Stefano Garzarella Reviewed-by: Eric Blake Signed-off-by: Paolo Bonzini --- diff --git a/Makefile b/Makefile index dbb8e136a30..04a0d450508 100644 --- a/Makefile +++ b/Makefile @@ -331,10 +331,10 @@ SUBDIR_DEVICES_MAK=$(patsubst %, %/config-devices.mak, $(filter %-softmmu, $(TAR SUBDIR_DEVICES_MAK_DEP=$(patsubst %, %.d, $(SUBDIR_DEVICES_MAK)) ifeq ($(SUBDIR_DEVICES_MAK),) -config-all-devices.mak: +config-all-devices.mak: config-host.mak $(call quiet-command,echo '# no devices' > $@,"GEN","$@") else -config-all-devices.mak: $(SUBDIR_DEVICES_MAK) +config-all-devices.mak: $(SUBDIR_DEVICES_MAK) config-host.mak $(call quiet-command, sed -n \ 's|^\([^=]*\)=\(.*\)$$|\1:=$$(findstring y,$$(\1)\2)|p' \ $(SUBDIR_DEVICES_MAK) | sort -u > $@, \