Some architectures might support memory devices, while they don't support DIMM/NVDIMM. So let's - Rename CONFIG_MEM_HOTPLUG to CONFIG_MEM_DEVICE - Introduce CONFIG_DIMM and use it similarly to CONFIG NVDIMM CONFIG_DIMM and CONFIG_NVDIMM require CONFIG_MEM_DEVICE. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20181005092024.14344-7-david@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
42 lines
1.6 KiB
Makefile
42 lines
1.6 KiB
Makefile
devices-dirs-$(call land,$(CONFIG_VIRTFS),$(call lor,$(CONFIG_VIRTIO),$(CONFIG_XEN))) += 9pfs/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += acpi/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += adc/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += audio/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += block/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += bt/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += char/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += cpu/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += display/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += dma/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += gpio/
|
|
devices-dirs-$(CONFIG_HYPERV) += hyperv/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += i2c/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += ide/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += input/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += intc/
|
|
devices-dirs-$(CONFIG_IPACK) += ipack/
|
|
devices-dirs-$(CONFIG_IPMI) += ipmi/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += isa/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += misc/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += net/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += rdma/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += nvram/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += pci/
|
|
devices-dirs-$(CONFIG_PCI) += pci-bridge/ pci-host/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += pcmcia/
|
|
devices-dirs-$(CONFIG_SCSI) += scsi/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += sd/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += ssi/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += timer/
|
|
devices-dirs-$(CONFIG_TPM) += tpm/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += usb/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += vfio/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += virtio/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += watchdog/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += xen/
|
|
devices-dirs-$(CONFIG_MEM_DEVICE) += mem/
|
|
devices-dirs-$(CONFIG_SOFTMMU) += smbios/
|
|
devices-dirs-y += core/
|
|
common-obj-y += $(devices-dirs-y)
|
|
obj-y += $(devices-dirs-y)
|