2017-12-19 15:49:01 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2014 Intel Corporation
|
2014-06-25 20:07:43 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_bond.a
|
|
|
|
|
2018-08-31 09:01:09 +00:00
|
|
|
CFLAGS += -DALLOW_EXPERIMENTAL_API
|
2014-06-25 20:07:43 +00:00
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2017-10-12 16:04:21 +00:00
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
2019-07-05 17:16:21 +00:00
|
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs
|
2017-10-26 10:06:08 +00:00
|
|
|
LDLIBS += -lrte_pci -lrte_bus_pci
|
2017-11-07 06:54:21 +00:00
|
|
|
LDLIBS += -lrte_bus_vdev
|
2014-06-25 20:07:43 +00:00
|
|
|
|
2017-09-14 15:57:56 +00:00
|
|
|
EXPORT_MAP := rte_pmd_bond_version.map
|
2015-02-02 17:40:20 +00:00
|
|
|
|
2017-09-29 07:17:24 +00:00
|
|
|
LIBABIVER := 2
|
2015-02-02 17:40:21 +00:00
|
|
|
|
2014-06-25 20:07:43 +00:00
|
|
|
#
|
|
|
|
# all source are stored in SRCS-y
|
|
|
|
#
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_api.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_pmd.c
|
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_args.c
|
2014-11-27 18:01:10 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_8023ad.c
|
2015-02-20 16:09:19 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_alb.c
|
2018-03-28 11:16:01 +00:00
|
|
|
SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_flow.c
|
2014-06-25 20:07:43 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Export include files
|
|
|
|
#
|
|
|
|
SYMLINK-y-include += rte_eth_bond.h
|
2014-11-27 18:01:10 +00:00
|
|
|
SYMLINK-y-include += rte_eth_bond_8023ad.h
|
2014-06-25 20:07:43 +00:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|