summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_pci/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/lib/librte_pci/Makefile')
-rw-r--r--src/spdk/dpdk/lib/librte_pci/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/spdk/dpdk/lib/librte_pci/Makefile b/src/spdk/dpdk/lib/librte_pci/Makefile
new file mode 100644
index 00000000..94a63267
--- /dev/null
+++ b/src/spdk/dpdk/lib/librte_pci/Makefile
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017 6WIND S.A.
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+# library name
+LIB = librte_pci.a
+
+CFLAGS := -I$(SRCDIR) $(CFLAGS)
+CFLAGS += $(WERROR_FLAGS) -O3
+LDLIBS += -lrte_eal
+
+EXPORT_MAP := rte_pci_version.map
+
+LIBABIVER := 1
+
+SRCS-$(CONFIG_RTE_LIBRTE_PCI) += rte_pci.c
+
+SYMLINK-$(CONFIG_RTE_LIBRTE_PCI)-include += rte_pci.h
+
+include $(RTE_SDK)/mk/rte.lib.mk