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