memory-device: simplify Makefile.objs conditions

hw/mem/ is only included if CONFIG_MEM_DEVICE is true, so we need not
specify the condition again in hw/mem/Makefile.objs.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Paolo Bonzini 2019-10-21 19:11:09 +02:00
parent 372a87a1d9
commit 7320c8b4ae

View File

@ -1,3 +1,3 @@
common-obj-$(CONFIG_DIMM) += pc-dimm.o common-obj-$(CONFIG_DIMM) += pc-dimm.o
common-obj-$(CONFIG_MEM_DEVICE) += memory-device.o common-obj-y += memory-device.o
common-obj-$(CONFIG_NVDIMM) += nvdimm.o common-obj-$(CONFIG_NVDIMM) += nvdimm.o