]>
Commit | Line | Data |
---|---|---|
11fdf7f2 TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright(c) 2010-2014 Intel Corporation | |
3 | ||
4 | include $(RTE_SDK)/mk/rte.vars.mk | |
5 | ||
6 | # | |
7 | # library name | |
8 | # | |
9 | LIB = librte_pmd_bond.a | |
10 | ||
11 | CFLAGS += -O3 | |
12 | CFLAGS += $(WERROR_FLAGS) | |
13 | LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring | |
f67539c2 | 14 | LDLIBS += -lrte_ethdev -lrte_net -lrte_kvargs |
11fdf7f2 TL |
15 | LDLIBS += -lrte_pci -lrte_bus_pci |
16 | LDLIBS += -lrte_bus_vdev | |
17 | ||
18 | EXPORT_MAP := rte_pmd_bond_version.map | |
19 | ||
11fdf7f2 TL |
20 | # |
21 | # all source are stored in SRCS-y | |
22 | # | |
23 | SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_api.c | |
24 | SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_pmd.c | |
25 | SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_args.c | |
26 | SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_8023ad.c | |
27 | SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_alb.c | |
28 | SRCS-$(CONFIG_RTE_LIBRTE_PMD_BOND) += rte_eth_bond_flow.c | |
29 | ||
30 | # | |
31 | # Export include files | |
32 | # | |
33 | SYMLINK-y-include += rte_eth_bond.h | |
34 | SYMLINK-y-include += rte_eth_bond_8023ad.h | |
35 | ||
36 | include $(RTE_SDK)/mk/rte.lib.mk |