2019-07-11 17:03:53 +00:00
|
|
|
devices-dirs-y = core/
|
|
|
|
ifeq ($(CONFIG_SOFTMMU), y)
|
2019-02-20 16:49:26 +00:00
|
|
|
devices-dirs-$(call lor,$(CONFIG_VIRTIO_9P),$(call land,$(CONFIG_VIRTFS),$(CONFIG_XEN))) += 9pfs/
|
2019-07-11 17:03:53 +00:00
|
|
|
devices-dirs-y += acpi/
|
|
|
|
devices-dirs-y += adc/
|
|
|
|
devices-dirs-y += audio/
|
|
|
|
devices-dirs-y += block/
|
|
|
|
devices-dirs-y += char/
|
|
|
|
devices-dirs-y += cpu/
|
|
|
|
devices-dirs-y += display/
|
|
|
|
devices-dirs-y += dma/
|
|
|
|
devices-dirs-y += gpio/
|
2018-09-21 08:20:39 +00:00
|
|
|
devices-dirs-$(CONFIG_HYPERV) += hyperv/
|
2019-01-23 06:56:11 +00:00
|
|
|
devices-dirs-$(CONFIG_I2C) += i2c/
|
2019-07-11 17:03:53 +00:00
|
|
|
devices-dirs-y += ide/
|
|
|
|
devices-dirs-y += input/
|
|
|
|
devices-dirs-y += intc/
|
2013-08-01 22:48:40 +00:00
|
|
|
devices-dirs-$(CONFIG_IPACK) += ipack/
|
2015-12-17 18:50:04 +00:00
|
|
|
devices-dirs-$(CONFIG_IPMI) += ipmi/
|
2019-07-11 17:03:53 +00:00
|
|
|
devices-dirs-y += isa/
|
|
|
|
devices-dirs-y += misc/
|
|
|
|
devices-dirs-y += net/
|
|
|
|
devices-dirs-y += rdma/
|
|
|
|
devices-dirs-y += nvram/
|
|
|
|
devices-dirs-y += pci/
|
2013-02-05 14:06:20 +00:00
|
|
|
devices-dirs-$(CONFIG_PCI) += pci-bridge/ pci-host/
|
2019-07-11 17:03:53 +00:00
|
|
|
devices-dirs-y += pcmcia/
|
2019-10-03 23:03:52 +00:00
|
|
|
devices-dirs-y += rtc/
|
2018-05-22 19:44:55 +00:00
|
|
|
devices-dirs-$(CONFIG_SCSI) += scsi/
|
2019-07-11 17:03:53 +00:00
|
|
|
devices-dirs-y += sd/
|
|
|
|
devices-dirs-y += ssi/
|
|
|
|
devices-dirs-y += timer/
|
2013-04-02 16:28:41 +00:00
|
|
|
devices-dirs-$(CONFIG_TPM) += tpm/
|
2019-07-11 17:03:53 +00:00
|
|
|
devices-dirs-y += usb/
|
2019-02-02 07:24:56 +00:00
|
|
|
devices-dirs-$(CONFIG_VFIO) += vfio/
|
2019-07-11 17:03:53 +00:00
|
|
|
devices-dirs-y += virtio/
|
|
|
|
devices-dirs-y += watchdog/
|
2020-06-03 16:04:42 +00:00
|
|
|
devices-dirs-$(CONFIG_XEN) += xen/
|
2018-10-05 09:20:14 +00:00
|
|
|
devices-dirs-$(CONFIG_MEM_DEVICE) += mem/
|
2019-10-26 16:45:42 +00:00
|
|
|
devices-dirs-$(CONFIG_NUBUS) += nubus/
|
2019-05-13 13:43:57 +00:00
|
|
|
devices-dirs-y += semihosting/
|
2019-07-11 17:03:53 +00:00
|
|
|
devices-dirs-y += smbios/
|
|
|
|
endif
|
|
|
|
|
2013-02-04 10:59:48 +00:00
|
|
|
common-obj-y += $(devices-dirs-y)
|
2020-06-24 13:10:42 +00:00
|
|
|
common-obj-m += display/
|
2020-06-24 13:10:40 +00:00
|
|
|
common-obj-m += usb/
|
2013-02-04 10:59:48 +00:00
|
|
|
obj-y += $(devices-dirs-y)
|