2019-06-25 11:12:58 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2017 Intel Corporation
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
# library name
|
2018-05-15 09:49:22 +00:00
|
|
|
LIB = librte_gro.a
|
2017-04-21 10:43:26 +00:00
|
|
|
|
|
|
|
CFLAGS += -O3
|
2018-05-15 09:49:22 +00:00
|
|
|
CFLAGS += $(WERROR_FLAGS) -I$(SRCDIR)
|
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_ethdev -lrte_net
|
|
|
|
|
|
|
|
EXPORT_MAP := rte_gro_version.map
|
|
|
|
|
|
|
|
LIBABIVER := 1
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# source files
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_GRO) += rte_gro.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_GRO) += gro_tcp4.c
|
2019-06-25 11:12:58 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_GRO) += gro_vxlan_tcp4.c
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
# install this header file
|
|
|
|
SYMLINK-$(CONFIG_RTE_LIBRTE_GRO)-include += rte_gro.h
|
2017-04-21 10:43:26 +00:00
|
|
|
|
2018-05-15 09:49:22 +00:00
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|