summaryrefslogtreecommitdiffstats
path: root/src/spdk/dpdk/lib/librte_gro/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/spdk/dpdk/lib/librte_gro/Makefile')
-rw-r--r--src/spdk/dpdk/lib/librte_gro/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/spdk/dpdk/lib/librte_gro/Makefile b/src/spdk/dpdk/lib/librte_gro/Makefile
new file mode 100644
index 000000000..e848687ac
--- /dev/null
+++ b/src/spdk/dpdk/lib/librte_gro/Makefile
@@ -0,0 +1,23 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2017 Intel Corporation
+
+include $(RTE_SDK)/mk/rte.vars.mk
+
+# library name
+LIB = librte_gro.a
+
+CFLAGS += -O3
+CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
+LDLIBS += -lrte_eal -lrte_mbuf -lrte_ethdev -lrte_net
+
+EXPORT_MAP := rte_gro_version.map
+
+# source files
+SRCS-$(CONFIG_RTE_LIBRTE_GRO) += rte_gro.c
+SRCS-$(CONFIG_RTE_LIBRTE_GRO) += gro_tcp4.c
+SRCS-$(CONFIG_RTE_LIBRTE_GRO) += gro_vxlan_tcp4.c
+
+# install this header file
+SYMLINK-$(CONFIG_RTE_LIBRTE_GRO)-include += rte_gro.h
+
+include $(RTE_SDK)/mk/rte.lib.mk