[bus][pci] add a virtual module that references all the pci drivers

Not sure if this is the right way to go forward, but it at least keeps
from having to copy/paste the same module list in a few different
places.
This commit is contained in:
Travis Geiselbrecht
2022-01-24 00:19:37 -08:00
parent 91d5c67fc2
commit 2ab1af0bf3
4 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,5 @@
# Fake module that just declares deps on all the PCI drivers in the system.
#
MODULES += dev/bus/pci
MODULES += dev/net/e1000

View File

@@ -12,8 +12,7 @@ MODULE_DEPS += \
lib/cbuf
ifneq ($(CPU),legacy)
MODULE_DEPS += dev/bus/pci
MODULE_DEPS += dev/net/e1000
MODULE_DEPS += dev/bus/pci/drivers
endif
MODULE_SRCS += \

View File

@@ -29,6 +29,7 @@ MODULE_DEPS += \
lib/cbuf \
lib/fdtwalk \
dev/bus/pci \
dev/bus/pci/drivers \
dev/interrupt/arm_gic \
dev/timer/arm_generic \
dev/virtio/block \

View File

@@ -22,6 +22,7 @@ MODULE_DEPS += lib/cbuf
MODULE_DEPS += lib/fdt
MODULE_DEPS += lib/fdtwalk
MODULE_DEPS += dev/bus/pci
MODULE_DEPS += dev/bus/pci/drivers
MODULE_DEPS += dev/virtio/block
MODULE_DEPS += dev/virtio/gpu
MODULE_DEPS += dev/virtio/net