[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:
5
dev/bus/pci/drivers/rules.mk
Normal file
5
dev/bus/pci/drivers/rules.mk
Normal 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
|
||||
@@ -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 += \
|
||||
|
||||
@@ -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 \
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user