1 # SPDX-License-Identifier: BSD-3-Clause
5 include $(RTE_SDK)/mk/rte.vars.mk
6 RTE_SDK_DPAA=$(RTE_SDK)/drivers/net/dpaa
11 LIB = librte_pmd_dpaa.a
13 CFLAGS := -I$(SRCDIR) $(CFLAGS)
14 CFLAGS += -O3 $(WERROR_FLAGS)
15 CFLAGS += -Wno-pointer-arith
16 CFLAGS += -I$(RTE_SDK_DPAA)/
17 CFLAGS += -I$(RTE_SDK_DPAA)/include
18 CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa
19 CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include/
20 CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/base/qbman
21 CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa
22 CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
23 CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa
24 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/include
26 EXPORT_MAP := rte_pmd_dpaa_version.map
28 # Interfaces with DPDK
29 SRCS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += dpaa_ethdev.c
30 SRCS-$(CONFIG_RTE_LIBRTE_DPAA_PMD) += dpaa_rxtx.c
32 LDLIBS += -lrte_bus_dpaa
33 LDLIBS += -lrte_mempool_dpaa
34 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
35 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
36 LDLIBS += -lrte_common_dpaax
38 # install this header file
39 SYMLINK-$(CONFIG_RTE_LIBRTE_DPAA_PMD)-include := rte_pmd_dpaa.h
41 include $(RTE_SDK)/mk/rte.lib.mk