X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2FMakefile;h=7f06162dc4af05d1ba90681d31e7d7618d9685b4;hb=4a28e831c97cd02e1646337ea6391288f7e8db05;hp=57e1a48a80353fb1559c17b82b11ca8bab0bc695;hpb=5566a3e35866ce9e5eacf886c27b460ebfcd6ee9;p=dpdk.git diff --git a/drivers/Makefile b/drivers/Makefile index 57e1a48a80..7f06162dc4 100644 --- a/drivers/Makefile +++ b/drivers/Makefile @@ -3,14 +3,32 @@ include $(RTE_SDK)/mk/rte.vars.mk +DIRS-y += common DIRS-y += bus +DEPDIRS-bus := common DIRS-y += mempool -DEPDIRS-mempool := bus +DEPDIRS-mempool := common bus +ifeq ($(findstring y,$(CONFIG_RTE_LIBRTE_MLX5_PMD)$(CONFIG_RTE_LIBRTE_MLX5_VDPA_PMD)$(CONFIG_RTE_LIBRTE_MLX5_REGEX_PMD)),y) +DIRS-y += common/mlx5 +DEPDIRS-common/mlx5 := bus +endif DIRS-y += net -DEPDIRS-net := bus mempool +DEPDIRS-net := common bus mempool common/mlx5 +DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += baseband +DEPDIRS-baseband := common bus mempool DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto -DEPDIRS-crypto := bus mempool +DEPDIRS-crypto := common bus mempool +DIRS-$(CONFIG_RTE_LIBRTE_PMD_QAT) += common/qat +DEPDIRS-common/qat := bus mempool +DIRS-$(CONFIG_RTE_LIBRTE_COMPRESSDEV) += compress +DEPDIRS-compress := bus mempool +DIRS-$(CONFIG_RTE_LIBRTE_REGEXDEV) += regex +DEPDIRS-regex := common bus common/mlx5 +DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += vdpa +DEPDIRS-vdpa := common bus mempool common/mlx5 DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += event -DEPDIRS-event := bus mempool net +DEPDIRS-event := common bus mempool net crypto +DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += raw +DEPDIRS-raw := common bus mempool net event include $(RTE_SDK)/mk/rte.subdir.mk