2017-12-19 15:49:01 +00:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
# Copyright(c) 2010-2014 Intel Corporation
|
2014-06-25 21:07:43 +01:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.vars.mk
|
|
|
|
|
|
|
|
#
|
|
|
|
# library name
|
|
|
|
#
|
|
|
|
LIB = librte_pmd_bond.a
|
|
|
|
|
|
|
|
CFLAGS += -O3
|
|
|
|
CFLAGS += $(WERROR_FLAGS)
|
2017-10-12 18:04:21 +02:00
|
|
|
LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring
|
|
|
|
LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs -lrte_cmdline
|
2017-10-26 12:06:08 +02:00
|
|
|
LDLIBS += -lrte_pci -lrte_bus_pci
|
2017-11-07 06:54:21 +00:00
|
|
|
LDLIBS += -lrte_bus_vdev
|
2014-06-25 21:07:43 +01:00
|
|
|
|
2017-09-14 16:57:56 +01:00
|
|
|
EXPORT_MAP := rte_pmd_bond_version.map
|
2015-02-02 12:40:20 -05:00
|
|
|
|
2017-09-29 15:17:24 +08:00
|
|
|
LIBABIVER := 2
|
2015-02-02 12:40:21 -05:00
|
|
|
|
2014-06-25 21:07:43 +01: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 17:09:19 +01: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 21:07:43 +01: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 21:07:43 +01:00
|
|
|
|
|
|
|
include $(RTE_SDK)/mk/rte.lib.mk
|