acec04c4b2
Remove setting ALLOW_EXPERIMENTAL_API individually for each Makefile and meson.build. Instead, enable ALLOW_EXPERIMENTAL_API flag across app, lib and drivers. This changes reduces the clutter across the project while still maintaining the functionality of ALLOW_EXPERIMENTAL_API i.e. warning external applications about experimental API usage. Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com> Signed-off-by: David Marchand <david.marchand@redhat.com>
42 lines
1.1 KiB
Makefile
42 lines
1.1 KiB
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2010-2014 Intel Corporation
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
#
|
|
# library name
|
|
#
|
|
LIB = librte_pmd_nfp.a
|
|
|
|
CFLAGS += -O3
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
LDLIBS += -lm
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
|
|
LDLIBS += -lrte_bus_pci
|
|
|
|
EXPORT_MAP := rte_pmd_nfp_version.map
|
|
|
|
VPATH += $(SRCDIR)/nfpcore
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_cppcore.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_cpp_pcie_ops.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_mutex.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_resource.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_crc.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_mip.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_nffw.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_hwinfo.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_rtsym.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_nsp.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_nsp_cmds.c
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_nsp_eth.c
|
|
|
|
#
|
|
# all source are stored in SRCS-y
|
|
#
|
|
SRCS-$(CONFIG_RTE_LIBRTE_NFP_PMD) += nfp_net.c
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|