2018-05-23 13:56:56 -07:00
|
|
|
# Copyright (c) 2014 - 2018 Cavium Inc.
|
2018-05-22 23:27:39 -07:00
|
|
|
# All rights reserved.
|
2018-05-23 13:56:56 -07:00
|
|
|
# www.cavium.com
|
2018-05-22 23:27:39 -07:00
|
|
|
#
|
|
|
|
# See LICENSE.bnx2x_pmd for copyright and licensing details.
|
2015-07-20 09:33:20 -07:00
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_bnx2x.a
|
|
|
|
|
2015-12-10 22:36:36 -08:00
|
|
|
CFLAGS += -O3
|
2015-07-20 09:33:20 -07:00
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
CFLAGS += -DZLIB_CONST
|
2015-10-21 17:18:27 +03:00
|
|
|
LDLIBS += -lz
|
2017-10-12 18:04:21 +02:00
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
|
2017-10-26 12:06:08 +02:00
|
|
|
LDLIBS += -lrte_bus_pci
|
2015-07-20 09:33:20 -07:00
|
|
|
|
2015-07-28 17:47:01 +02:00
|
|
|
EXPORT_MAP := rte_pmd_bnx2x_version.map
|
|
|
|
|
|
|
|
LIBABIVER := 1
|
|
|
|
|
2015-07-20 09:33:20 -07:00
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x_rxtx.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x_stats.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x_ethdev.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += ecore_sp.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += elink.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_BNX2X_PMD) += bnx2x_vfpf.c
|
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|