bnx2x: fix build as shared library
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 28 Jul 2015 15:47:01 +0000 (17:47 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Aug 2015 15:14:53 +0000 (17:14 +0200)
Build log:
Must Specify a librte_pmd_bnx2x.so..1 ABI version

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
drivers/net/bnx2x/Makefile

index 0de5db9..87f31b6 100644 (file)
@@ -9,6 +9,10 @@ CFLAGS += -O3 -g
 CFLAGS += $(WERROR_FLAGS)
 CFLAGS += -DZLIB_CONST
 
+EXPORT_MAP := rte_pmd_bnx2x_version.map
+
+LIBABIVER := 1
+
 #
 # all source are stored in SRCS-y
 #