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_event.a
13 CFLAGS += -DALLOW_EXPERIMENTAL_API
14 CFLAGS := -I$(SRCDIR) $(CFLAGS)
15 CFLAGS += -O3 $(WERROR_FLAGS)
16 CFLAGS += -Wno-pointer-arith
17 CFLAGS += -I$(RTE_SDK_DPAA)/
18 CFLAGS += -I$(RTE_SDK_DPAA)/include
19 CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa
20 CFLAGS += -I$(RTE_SDK)/drivers/bus/dpaa/include/
21 CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa
22 CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
23 CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common/include
25 LDLIBS += -lrte_pmd_dpaa_sec
26 CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa_sec
28 EXPORT_MAP := rte_pmd_dpaa_event_version.map
30 # Interfaces with DPDK
31 SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA_EVENTDEV) += dpaa_eventdev.c
33 LDLIBS += -lrte_bus_dpaa
34 LDLIBS += -lrte_mempool_dpaa
35 LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
36 LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
37 LDLIBS += -lrte_eventdev -lrte_pmd_dpaa -lrte_bus_vdev
38 LDLIBS += -lrte_common_dpaax
40 include $(RTE_SDK)/mk/rte.lib.mk