2017-12-19 10:14:40 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright 2017 NXP
|
2017-06-30 08:54:16 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_dpaa2_event.a
|
|
|
|
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
|
2017-06-30 08:54:21 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc
|
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include
|
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/mc
|
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/portal
|
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/mempool/dpaa2
|
2017-06-30 08:54:16 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa2
|
2017-06-30 08:54:21 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal
|
2018-04-27 17:20:57 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_eventdev
|
|
|
|
LDLIBS += -lrte_bus_fslmc -lrte_mempool_dpaa2 -lrte_pmd_dpaa2
|
2017-11-07 06:54:21 +00:00
|
|
|
LDLIBS += -lrte_bus_vdev
|
2018-10-15 12:01:56 +00:00
|
|
|
LDLIBS += -lrte_common_dpaax
|
2017-10-23 12:37:05 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2
|
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2/mc
|
2018-10-23 13:47:06 +00:00
|
|
|
|
|
|
|
ifeq ($(CONFIG_RTE_LIBRTE_SECURITY),y)
|
|
|
|
LDLIBS += -lrte_pmd_dpaa2_sec
|
2018-09-14 11:48:10 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec
|
2018-10-23 13:47:06 +00:00
|
|
|
endif
|
2017-06-30 08:54:21 +00:00
|
|
|
|
2017-06-30 08:54:16 +00:00
|
|
|
# versioning export map
|
|
|
|
EXPORT_MAP := rte_pmd_dpaa2_event_version.map
|
|
|
|
|
2018-10-12 10:04:14 +00:00
|
|
|
LIBABIVER := 2
|
2017-06-30 08:54:16 +00:00
|
|
|
|
2018-04-11 12:30:13 +00:00
|
|
|
# depends on fslmc bus which uses experimental API
|
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
|
|
|
|
2017-06-30 08:54:16 +00:00
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
2017-06-30 08:54:21 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV) += dpaa2_hw_dpcon.c
|
2017-06-30 08:54:16 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV) += dpaa2_eventdev.c
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|