The "unimplemented-device" is currently only used for one arm board. Let's add a CONFIG switch to make sure that we only compile it when it is really necessary.
Signed-off-by: Thomas Huth <th...@redhat.com> --- default-configs/arm-softmmu.mak | 1 + hw/misc/Makefile.objs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/default-configs/arm-softmmu.mak b/default-configs/arm-softmmu.mak index 6f2ffc1..dc9730f 100644 --- a/default-configs/arm-softmmu.mak +++ b/default-configs/arm-softmmu.mak @@ -7,6 +7,7 @@ CONFIG_NAND=y CONFIG_OR_IRQ=y CONFIG_SPLIT_IRQ=y CONFIG_REGISTER=y +CONFIG_UNIMP=y CONFIG_ECC=y CONFIG_SERIAL=y CONFIG_SERIAL_ISA=y diff --git a/hw/misc/Makefile.objs b/hw/misc/Makefile.objs index 6d50b03..c604859 100644 --- a/hw/misc/Makefile.objs +++ b/hw/misc/Makefile.objs @@ -9,7 +9,7 @@ common-obj-$(CONFIG_PCI_TESTDEV) += pci-testdev.o common-obj-$(CONFIG_EDU) += edu.o common-obj-$(CONFIG_PCA9552) += pca9552.o -common-obj-y += unimp.o +common-obj-$(CONFIG_UNIMP) += unimp.o common-obj-$(CONFIG_FW_CFG_DMA) += vmcoreinfo.o # ARM devices -- 1.8.3.1