mk: fix dpaax library dependency
Subsystems (2)
PATCH 1/1 mk: fix dpaax library dependency
This patch fixes dpaax library dependency for
NXP's PMDs.
Fixes e56463ec47f0 ('net/enetc: enable dpaax library')
Fixes 67fc3ff97c39 ('net/pfe: introduce basic functions')
Fixes 9e727d4a3fd4 ('crypto/caam_jr: integrate DPAAX table')
Suggested-by Thierry Herbelot <[email protected]>
Signed-off-by Gagandeep Singh <[email protected]>
---
The first suggested patch was
https://patchwork.dpdk.org/patch/62150/ ,
which is not the right fix for this issue.
This patch is a complete fix of compilation issues because of NXP's PMDs.
drivers/net/pfe/meson.build | 2 +- mk/rte.app.mk | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-)
drivers/net/pfe/meson.build +1 -1
@@ -4,7 +4,7 @@ if host_machine.system() != 'linux' build = false endif -deps += ['bus_dpaa'] +deps += ['common_dpaax'] sources = files('pfe_ethdev.c', 'pfe_hal.c',
mk/rte.app.mk +7 -5
@@ -126,11 +126,13 @@ ifneq (,$(findstring y,$(MVEP-y))) _LDLIBS-y += -lrte_common_mvep -L$(LIBMUSDK_PATH)/lib -lmusdk endif -ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS),y) -_LDLIBS-$(CONFIG_RTE_LIBRTE_COMMON_DPAAX) += -lrte_common_dpaax -endif -ifeq ($(CONFIG_RTE_LIBRTE_FSLMC_BUS),y) -_LDLIBS-$(CONFIG_RTE_LIBRTE_COMMON_DPAAX) += -lrte_common_dpaax +DPAAX-y := $(CONFIG_RTE_LIBRTE_DPAA_BUS) +DPAAX-y += $(CONFIG_RTE_LIBRTE_FSLMC_BUS) +DPAAX-y += $(CONFIG_RTE_LIBRTE_ENETC_PMD) +DPAAX-y += $(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) +DPAAX-y += $(CONFIG_RTE_LIBRTE_PFE_PMD) +ifeq ($(findstring y,$(DPAAX-y)),y) + _LDLIBS-y += -lrte_common_dpaax endif _LDLIBS-$(CONFIG_RTE_LIBRTE_PCI_BUS) += -lrte_bus_pci
Signature · 1 line
2.17.1
Quoted 50 lines · Gagandeep Singh
This patch fixes dpaax library dependency for
NXP's PMDs.Fixes e56463ec47f0 ('net/enetc: enable dpaax library')Fixes 67fc3ff97c39 ('net/pfe: introduce basic functions')Fixes 9e727d4a3fd4 ('crypto/caam_jr: integrate DPAAX table')Suggested-by Thierry Herbelot <[email protected]>Signed-off-by Gagandeep Singh <[email protected]>---
The first suggested patch was
https://patchwork.dpdk.org/patch/62150/ ,
which is not the right fix for this issue.This patch is a complete fix of compilation issues because of NXP's PMDs.
drivers/net/pfe/meson.build | 2 +- mk/rte.app.mk | 12 +++++++----- 2 files changed, 8 insertions(+), 6 deletions(-)drivers/net/pfe/meson.build +1
-1@@ -4,7 +4,7 @@ if host_machine.system() != 'linux' build = false endif -deps += ['bus_dpaa'] +deps += ['common_dpaax'] sources = files('pfe_ethdev.c', 'pfe_hal.c',mk/rte.app.mk +0
-5@@ -126,11 +126,13 @@ ifneq (,$(findstring y,$(MVEP-y))) _LDLIBS-y += -lrte_common_mvep -L$(LIBMUSDK_PATH)/lib -lmusdk endif -ifeq ($(CONFIG_RTE_LIBRTE_DPAA_BUS),y) -_LDLIBS-$(CONFIG_RTE_LIBRTE_COMMON_DPAAX) += -lrte_common_dpaax -endif -ifeq ($(CONFIG_RTE_LIBRTE_FSLMC_BUS),y) -_LDLIBS-$(CONFIG_RTE_LIBRTE_COMMON_DPAAX) += -lrte_common_dpaax
mk/rte.app.mk ifneq (,$(findstring y,$(MVEP-y))) · line 138
Quoted 10 lines
mk/rte.app.mk +7
-0+DPAAX-y := $(CONFIG_RTE_LIBRTE_DPAA_BUS) +DPAAX-y += $(CONFIG_RTE_LIBRTE_FSLMC_BUS) +DPAAX-y += $(CONFIG_RTE_LIBRTE_ENETC_PMD) +DPAAX-y += $(CONFIG_RTE_LIBRTE_PMD_CAAM_JR) +DPAAX-y += $(CONFIG_RTE_LIBRTE_PFE_PMD) +ifeq ($(findstring y,$(DPAAX-y)),y) + _LDLIBS-y += -lrte_common_dpaax endif _LDLIBS-$(CONFIG_RTE_LIBRTE_PCI_BUS) += -lrte_bus_pci
Acked-by Thierry Herbelot <[email protected]>
Signature · 3 lines
Thierry Herbelot 6WIND Senior Software Engineer
Quoted 4 lines · Thierry Herbelot
Quoted 3 lines · Gagandeep Singh
This patch fixes dpaax library dependency for
NXP's PMDs.
Quoted 9 lines
Quoted 6 lines
Fixes e56463ec47f0 ('net/enetc: enable dpaax library')Fixes 67fc3ff97c39 ('net/pfe: introduce basic functions')Fixes 9e727d4a3fd4 ('crypto/caam_jr: integrate DPAAX table')Suggested-by Thierry Herbelot <[email protected]>Signed-off-by Gagandeep Singh <[email protected]>Acked-by Thierry Herbelot <[email protected]>
Reviewed-by Ferruh Yigit <[email protected]>
Applied to dpdk-next-net/master, thanks.