30471d5351
Add a new config to control whether the driver for legacy virtio PCI devices is included in the build. VIRTIO_PCI_LEGACY is included by default when VIRTIO_PCI is selected, but it can also be independently toggled. Signed-off-by: Andrew Scull <ascull@google.com> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
14 lines
513 B
Makefile
14 lines
513 B
Makefile
# SPDX-License-Identifier: GPL-2.0+
|
|
#
|
|
# Copyright (C) 2018, Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi>
|
|
# Copyright (C) 2018, Bin Meng <bmeng.cn@gmail.com>
|
|
|
|
obj-y += virtio-uclass.o virtio_ring.o
|
|
obj-$(CONFIG_VIRTIO_MMIO) += virtio_mmio.o
|
|
obj-$(CONFIG_VIRTIO_PCI) += virtio_pci_modern.o
|
|
obj-$(CONFIG_VIRTIO_PCI_LEGACY) += virtio_pci_legacy.o
|
|
obj-$(CONFIG_VIRTIO_SANDBOX) += virtio_sandbox.o
|
|
obj-$(CONFIG_VIRTIO_NET) += virtio_net.o
|
|
obj-$(CONFIG_VIRTIO_BLK) += virtio_blk.o
|
|
obj-$(CONFIG_VIRTIO_RNG) += virtio_rng.o
|