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