2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
2020-06-18 16:55:50 +00:00
|
|
|
# Copyright 2017,2019 NXP
|
2018-05-15 09:49:22 +00:00
|
|
|
#
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
2018-05-15 09:49:22 +00:00
|
|
|
LIB = librte_pmd_dpaa2_event.a
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
|
2018-05-15 09:49:22 +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
|
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/event/dpaa2
|
2020-06-18 16:55:50 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/common/dpaax
|
2019-06-25 11:12:58 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_eventdev
|
|
|
|
LDLIBS += -lrte_common_dpaax
|
2020-06-18 16:55:50 +00:00
|
|
|
LDLIBS += -lrte_bus_fslmc -lrte_mempool_dpaa2 -lrte_pmd_dpaa2
|
|
|
|
LDLIBS += -lrte_bus_vdev -lrte_mempool -lrte_mbuf -lrte_ethdev
|
2018-05-15 09:49:22 +00:00
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2
|
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2/mc
|
|
|
|
|
2019-06-25 11:12:58 +00:00
|
|
|
LDLIBS += -lrte_pmd_dpaa2_sec
|
|
|
|
CFLAGS += -I$(RTE_SDK)/drivers/crypto/dpaa2_sec
|
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# versioning export map
|
|
|
|
EXPORT_MAP := rte_pmd_dpaa2_event_version.map
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2019-06-25 11:12:58 +00:00
|
|
|
# depends on fslmc bus which uses experimental API
|
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
2018-05-15 09:49:22 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV) += dpaa2_hw_dpcon.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV) += dpaa2_eventdev.c
|
2020-06-18 16:55:50 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_EVENTDEV) += dpaa2_eventdev_selftest.c
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|