OSDN Git Service

memory-device: simplify Makefile.objs conditions
authorPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Oct 2019 17:11:09 +0000 (19:11 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 22 Oct 2019 07:38:42 +0000 (09:38 +0200)
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>
hw/mem/Makefile.objs

index 3e2f7c5..56345be 100644 (file)
@@ -1,3 +1,3 @@
 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