numam-dpdk/drivers/net/nfp/Makefile
Alejandro Lucero 896c265ef9 net/nfp: use new CPP interface
PF PMD support was based on NSPU interface. This patch changes the
PMD for using the new CPP user space interface which gives more
flexibility for adding new functionalities.

This change just affects initialization with the datapath being the
same than before.

Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
2018-04-14 00:40:21 +02:00

44 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
LIBABIVER := 1
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