diff options
Diffstat (limited to 'src/seastar/dpdk/drivers/net/bnx2x/Makefile')
-rw-r--r-- | src/seastar/dpdk/drivers/net/bnx2x/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/seastar/dpdk/drivers/net/bnx2x/Makefile b/src/seastar/dpdk/drivers/net/bnx2x/Makefile new file mode 100644 index 00000000..e1231069 --- /dev/null +++ b/src/seastar/dpdk/drivers/net/bnx2x/Makefile @@ -0,0 +1,32 @@ +include $(RTE_SDK)/mk/rte.vars.mk + +# +# library name +# +LIB = librte_pmd_bnx2x.a + +CFLAGS += -O3 +CFLAGS += $(WERROR_FLAGS) +CFLAGS += -DZLIB_CONST +LDLIBS += -lz + +EXPORT_MAP := rte_pmd_bnx2x_version.map + +LIBABIVER := 1 + +ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) +CFLAGS += -wd188 #188: enumerated type mixed with another type +endif + +# +# 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 |