aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2016-06-07 13:25:58 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2016-06-07 14:14:38 +0200
commit0ab0c99851ab8d270389e6423df9ff664d5c5c0d (patch)
tree1f257f53ef2174cea0a2558f1a626ed930797e52 /Makefile
parent553350156d80c18d0127c742f47b7adbd642f3ef (diff)
downloadqemu-0ab0c99851ab8d270389e6423df9ff664d5c5c0d.zip
qemu-0ab0c99851ab8d270389e6423df9ff664d5c5c0d.tar.gz
qemu-0ab0c99851ab8d270389e6423df9ff664d5c5c0d.tar.bz2
Makefile: add dependency on scripts/make_device_config.sh
Make sure that config-devices.mak is rebuilt whenever there is a change in the scripts that generates it. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> 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 59af636..6406847 100644
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@ endif
-include $(SUBDIR_DEVICES_MAK_DEP)
-%/config-devices.mak: default-configs/%.mak
+%/config-devices.mak: default-configs/%.mak $(SRC_PATH)/scripts/make_device_config.sh
$(call quiet-command, \
$(SHELL) $(SRC_PATH)/scripts/make_device_config.sh $< $*-config-devices.mak.d $@ > $@.tmp, " GEN $@.tmp")
$(call quiet-command, if test -f $@; then \