build-sys: restrict vmcoreinfo to fw_cfg+dma capable targets
commitf865da7c369fa00b2ccaf6bce158ad2701b2a27c
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 6 Nov 2017 11:53:47 +0000 (6 12:53 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 16 Nov 2017 15:46:53 +0000 (16 17:46 +0200)
treed6f2662f220420376c56fd7684a5cf84aaa72008
parentb948bb55dac527ae6b0c5e6dc69d00866a3a6fee
build-sys: restrict vmcoreinfo to fw_cfg+dma capable targets

vmcoreinfo is built for all targets. However, it requires fw_cfg with
DMA operations support (write operation). Restrict vmcoreinfo exposure
to architectures that are supporting FW_CFG_DMA, that is arm-virt and
x86 only atm.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Tested-by: Daniel Henrique Barboza <danielhb@linux.vnet.ibm.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
default-configs/arm-softmmu.mak
default-configs/i386-softmmu.mak
default-configs/x86_64-softmmu.mak
hw/misc/Makefile.objs