2015-07-20 16:33:20 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_bnx2x.a
|
|
|
|
|
2015-12-11 06:36:36 +00:00
|
|
|
CFLAGS += -O3
|
2015-07-20 16:33:20 +00:00
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
|
|
|
CFLAGS += -DZLIB_CONST
|
2015-10-21 14:18:27 +00:00
|
|
|
LDLIBS += -lz
|
2015-07-20 16:33:20 +00:00
|
|
|
|
2015-07-28 15:47:01 +00:00
|
|
|
EXPORT_MAP := rte_pmd_bnx2x_version.map
|
|
|
|
|
|
|
|
LIBABIVER := 1
|
|
|
|
|
2016-06-27 16:02:33 +00:00
|
|
|
ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y)
|
|
|
|
CFLAGS += -wd188 #188: enumerated type mixed with another type
|
|
|
|
endif
|
|
|
|
|
2015-07-20 16:33:20 +00: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
|