b4a63e605d
This patch add the support for new Management Complex Firmware version to 10.1x.x. One of the main changes in the APIs ordered queue. The fslmc bus lib ABI will need to be bumped to reflect the MC FW API and structure changes. This will also result in bumping of ABI verion of all dependent libs as they internally use the MC FW APIs and structures. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (c) 2016 Freescale Semiconductor, Inc. All rights reserved.
|
|
# Copyright 2016 NXP
|
|
#
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
#
|
|
# library name
|
|
#
|
|
LIB = librte_pmd_dpaa2.a
|
|
|
|
CFLAGS += -O3
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2
|
|
CFLAGS += -I$(RTE_SDK)/drivers/net/dpaa2/mc
|
|
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)/lib/librte_eal/linuxapp/eal
|
|
|
|
# versioning export map
|
|
EXPORT_MAP := rte_pmd_dpaa2_version.map
|
|
|
|
# library version
|
|
LIBABIVER := 2
|
|
|
|
# depends on fslmc bus which uses experimental API
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += base/dpaa2_hw_dpni.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += dpaa2_rxtx.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += dpaa2_ethdev.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += mc/dpni.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += mc/dpkg.c
|
|
|
|
LDLIBS += -lrte_bus_fslmc
|
|
LDLIBS += -lrte_mempool_dpaa2
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
|
|
LDLIBS += -lrte_common_dpaax
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|