summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_rawdev/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/lib/librte_rawdev/Makefile')
-rw-r--r--src/spdk/dpdk/lib/librte_rawdev/Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/spdk/dpdk/lib/librte_rawdev/Makefile b/src/spdk/dpdk/lib/librte_rawdev/Makefile
new file mode 100644
index 000000000..99f5d2a47
--- /dev/null
+++ b/src/spdk/dpdk/lib/librte_rawdev/Makefile
@@ -0,0 +1,24 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright 2017 NXP
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+# library name
+LIB = librte_rawdev.a
+
+# build flags
+CFLAGS += -O3
+CFLAGS += $(WERROR_FLAGS)
+LDLIBS += -lrte_eal -lrte_telemetry
+
+# library source files
+SRCS-y += rte_rawdev.c
+
+# export include files
+SYMLINK-y-include += rte_rawdev.h
+SYMLINK-y-include += rte_rawdev_pmd.h
+
+# versioning export map
+EXPORT_MAP := rte_rawdev_version.map
+
+include $(RTE_SDK)/mk/rte.lib.mk