[dpdk-dev,2/3] mempool/octeontx: fix dependency
Checks
Commit Message
The syntax "DEPDIRS-y = ..." is deprecated since
commit feb9f680cd2c ("mk: optimize directory dependencies").
Replace it with the new style.
Fixes: 8700239f7767 ("mempool/octeontx: add build and log infrastructure")
Cc: stable@dpdk.org
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
---
drivers/mempool/Makefile | 2 +-
drivers/mempool/octeontx/Makefile | 3 ---
2 files changed, 1 insertion(+), 4 deletions(-)
@@ -41,6 +41,6 @@ DEPDIRS-ring = $(core-libs)
DIRS-$(CONFIG_RTE_DRIVER_MEMPOOL_STACK) += stack
DEPDIRS-stack = $(core-libs)
DIRS-$(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL) += octeontx
-DEPDIRS-octeontx = $(core-libs) librte_pmd_octeontx_ssovf
+DEPDIRS-octeontx = $(core-libs) librte_mbuf librte_pmd_octeontx_ssovf
include $(RTE_SDK)/mk/rte.subdir.mk
@@ -66,9 +66,6 @@ else
CFLAGS_rte_mempool_octeontx.o += -Ofast
endif
-# this lib depends upon:
-DEPDIRS-$(CONFIG_RTE_LIBRTE_OCTEONTX_MEMPOOL) += lib/librte_mbuf
-
LDLIBS += -lrte_pmd_octeontx_ssovf
include $(RTE_SDK)/mk/rte.lib.mk