1 # SPDX-License-Identifier: BSD-3-Clause
5 include $(RTE_SDK)/mk/rte.vars.mk
10 LIB = librte_pmd_dpaa2_event.a
12 CFLAGS += $(WERROR_FLAGS)
14 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
15 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
16 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
17 CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
18 CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2
19 CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa2
20 LDLIBS += -lrte_eal -lrte_eventdev
21 LDLIBS += -lrte_bus_fslmc -lrte_mempool_dpaa2 -lrte_pmd_dpaa2
22 LDLIBS += -lrte_bus_vdev
23 LDLIBS += -lrte_common_dpaax
24 CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2
25 CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2/mc
27 ifeq ($(CONFIG_RTE_LIBRTE_SECURITY),y)
28 LDLIBS += -lrte_pmd_dpaa2_sec
29 CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec
32 # versioning export map
33 EXPORT_MAP := rte_pmd_dpaa2_event_version.map
37 # depends on fslmc bus which uses experimental API
38 CFLAGS += -DALLOW_EXPERIMENTAL_API
41 # all source are stored in SRCS-y
43 SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV) += dpaa2_hw_dpcon.c
44 SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV) += dpaa2_eventdev.c
46 include $(RTE_SDK)/mk/rte.lib.mk