summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_efd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/lib/librte_efd/Makefile')
-rw-r--r--src/spdk/dpdk/lib/librte_efd/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/spdk/dpdk/lib/librte_efd/Makefile b/src/spdk/dpdk/lib/librte_efd/Makefile
new file mode 100644
index 000000000..2dc97132e
--- /dev/null
+++ b/src/spdk/dpdk/lib/librte_efd/Makefile
@@ -0,0 +1,21 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2016-2017 Intel Corporation
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+# library name
+LIB = librte_efd.a
+
+CFLAGS += -O3
+CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
+LDLIBS += -lrte_eal -lrte_ring -lrte_hash
+
+EXPORT_MAP := rte_efd_version.map
+
+# all source are stored in SRCS-y
+SRCS-$(CONFIG_RTE_LIBRTE_EFD) := rte_efd.c
+
+# install this header file
+SYMLINK-$(CONFIG_RTE_LIBRTE_EFD)-include := rte_efd.h
+
+include $(RTE_SDK)/mk/rte.lib.mk