diff --git a/dev/bus/pci/drivers/rules.mk b/dev/bus/pci/drivers/rules.mk new file mode 100644 index 00000000..6a3ac16c --- /dev/null +++ b/dev/bus/pci/drivers/rules.mk @@ -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 diff --git a/platform/pc/rules.mk b/platform/pc/rules.mk index d4dc0ef5..9b62107d 100644 --- a/platform/pc/rules.mk +++ b/platform/pc/rules.mk @@ -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 += \ diff --git a/platform/qemu-virt-arm/rules.mk b/platform/qemu-virt-arm/rules.mk index 81af65f6..ac5e779f 100644 --- a/platform/qemu-virt-arm/rules.mk +++ b/platform/qemu-virt-arm/rules.mk @@ -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 \ diff --git a/platform/qemu-virt-riscv/rules.mk b/platform/qemu-virt-riscv/rules.mk index 8fce959d..30ae35ba 100644 --- a/platform/qemu-virt-riscv/rules.mk +++ b/platform/qemu-virt-riscv/rules.mk @@ -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