]> git.proxmox.com Git - mirror_qemu.git/commit - Makefile
build: pass .d file name to scripts/make_device_config.sh, fix makefile target
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 12 Mar 2015 15:00:05 +0000 (16:00 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Mar 2015 11:07:25 +0000 (12:07 +0100)
commit15564d85afaf1d7b314c858a5a34bda599f4cd14
tree90f24f3922a1343e0ddc00309bd30e0e4c02b52a
parent4adf4180f284caf4ea9cd83ce37085d50a52603b
build: pass .d file name to scripts/make_device_config.sh, fix makefile target

The .d file name must match exactly what is used in the SUBDIR_DEVICES_MAK_DEP
variable.  Instead of making assumptions in the make_device_config.sh script,
just pass it in.

Similarly, the makefile target may not match the output file name, because
Makefile uses a temporary file.  Instead of making assumptions on what the
Makefile does, emit the config-devices.mak file to stdout, and use the
passed-in destination as the makefile target

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Makefile
scripts/make_device_config.sh