summaryrefslogtreecommitdiff
path: root/hw/mem
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2019-10-21 19:11:09 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2019-10-22 09:38:42 +0200
commit7320c8b4ae610ad0b2faa3b049d8312b26f31518 (patch)
treecb0bcf96fbc34de934aba0001a5f8944eeb07b81 /hw/mem
parent372a87a1d9f611cedeff2f679fe8da219f0b938f (diff)
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>
Diffstat (limited to 'hw/mem')
-rw-r--r--hw/mem/Makefile.objs2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mem/Makefile.objs b/hw/mem/Makefile.objs
index 3e2f7c5ca2..56345befd0 100644
--- a/hw/mem/Makefile.objs
+++ b/hw/mem/Makefile.objs
@@ -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