]> git.proxmox.com Git - ceph.git/blame - ceph/src/spdk/dpdk/lib/Makefile
import 15.2.0 Octopus source
[ceph.git] / ceph / src / spdk / dpdk / lib / Makefile
CommitLineData
11fdf7f2
TL
1# SPDX-License-Identifier: BSD-3-Clause
2# Copyright(c) 2010-2017 Intel Corporation
3
4include $(RTE_SDK)/mk/rte.vars.mk
5
11fdf7f2 6DIRS-$(CONFIG_RTE_LIBRTE_KVARGS) += librte_kvargs
11fdf7f2
TL
7DIRS-$(CONFIG_RTE_LIBRTE_EAL) += librte_eal
8DEPDIRS-librte_eal := librte_kvargs
9DIRS-$(CONFIG_RTE_LIBRTE_PCI) += librte_pci
10DEPDIRS-librte_pci := librte_eal
11DIRS-$(CONFIG_RTE_LIBRTE_RING) += librte_ring
12DEPDIRS-librte_ring := librte_eal
9f95a23c
TL
13DIRS-$(CONFIG_RTE_LIBRTE_STACK) += librte_stack
14DEPDIRS-librte_stack := librte_eal
11fdf7f2
TL
15DIRS-$(CONFIG_RTE_LIBRTE_MEMPOOL) += librte_mempool
16DEPDIRS-librte_mempool := librte_eal librte_ring
17DIRS-$(CONFIG_RTE_LIBRTE_MBUF) += librte_mbuf
18DEPDIRS-librte_mbuf := librte_eal librte_mempool
19DIRS-$(CONFIG_RTE_LIBRTE_TIMER) += librte_timer
20DEPDIRS-librte_timer := librte_eal
21DIRS-$(CONFIG_RTE_LIBRTE_CFGFILE) += librte_cfgfile
22DIRS-$(CONFIG_RTE_LIBRTE_CMDLINE) += librte_cmdline
23DEPDIRS-librte_cmdline := librte_eal
24DIRS-$(CONFIG_RTE_LIBRTE_ETHER) += librte_ethdev
25DEPDIRS-librte_ethdev := librte_net librte_eal librte_mempool librte_ring
26DEPDIRS-librte_ethdev += librte_mbuf
27DEPDIRS-librte_ethdev += librte_kvargs
9f95a23c
TL
28DEPDIRS-librte_ethdev += librte_cmdline
29DEPDIRS-librte_ethdev += librte_meter
11fdf7f2
TL
30DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += librte_bbdev
31DEPDIRS-librte_bbdev := librte_eal librte_mempool librte_mbuf
32DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += librte_cryptodev
33DEPDIRS-librte_cryptodev := librte_eal librte_mempool librte_ring librte_mbuf
34DEPDIRS-librte_cryptodev += librte_kvargs
35DIRS-$(CONFIG_RTE_LIBRTE_SECURITY) += librte_security
36DEPDIRS-librte_security := librte_eal librte_mempool librte_ring librte_mbuf
37DEPDIRS-librte_security += librte_ethdev
38DEPDIRS-librte_security += librte_cryptodev
39DIRS-$(CONFIG_RTE_LIBRTE_COMPRESSDEV) += librte_compressdev
40DEPDIRS-librte_compressdev := librte_eal librte_mempool librte_ring librte_mbuf
41DEPDIRS-librte_compressdev += librte_kvargs
42DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += librte_eventdev
43DEPDIRS-librte_eventdev := librte_eal librte_ring librte_ethdev librte_hash \
44 librte_mempool librte_timer librte_cryptodev
45DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += librte_rawdev
46DEPDIRS-librte_rawdev := librte_eal librte_ethdev
47DIRS-$(CONFIG_RTE_LIBRTE_VHOST) += librte_vhost
48DEPDIRS-librte_vhost := librte_eal librte_mempool librte_mbuf librte_ethdev \
49 librte_net
50DIRS-$(CONFIG_RTE_LIBRTE_HASH) += librte_hash
51DEPDIRS-librte_hash := librte_eal librte_ring
52DIRS-$(CONFIG_RTE_LIBRTE_EFD) += librte_efd
53DEPDIRS-librte_efd := librte_eal librte_ring librte_hash
54DIRS-$(CONFIG_RTE_LIBRTE_LPM) += librte_lpm
9f95a23c 55DEPDIRS-librte_lpm := librte_eal librte_hash
11fdf7f2
TL
56DIRS-$(CONFIG_RTE_LIBRTE_ACL) += librte_acl
57DEPDIRS-librte_acl := librte_eal
58DIRS-$(CONFIG_RTE_LIBRTE_MEMBER) += librte_member
59DEPDIRS-librte_member := librte_eal librte_hash
60DIRS-$(CONFIG_RTE_LIBRTE_NET) += librte_net
61DEPDIRS-librte_net := librte_mbuf librte_eal
62DIRS-$(CONFIG_RTE_LIBRTE_IP_FRAG) += librte_ip_frag
63DEPDIRS-librte_ip_frag := librte_eal librte_mempool librte_mbuf librte_ethdev
64DEPDIRS-librte_ip_frag += librte_hash
65DIRS-$(CONFIG_RTE_LIBRTE_GRO) += librte_gro
66DEPDIRS-librte_gro := librte_eal librte_mbuf librte_ethdev librte_net
67DIRS-$(CONFIG_RTE_LIBRTE_JOBSTATS) += librte_jobstats
68DEPDIRS-librte_jobstats := librte_eal
69DIRS-$(CONFIG_RTE_LIBRTE_METRICS) += librte_metrics
70DEPDIRS-librte_metrics := librte_eal
71DIRS-$(CONFIG_RTE_LIBRTE_BITRATE) += librte_bitratestats
72DEPDIRS-librte_bitratestats := librte_eal librte_metrics librte_ethdev
73DIRS-$(CONFIG_RTE_LIBRTE_LATENCY_STATS) += librte_latencystats
74DEPDIRS-librte_latencystats := librte_eal librte_metrics librte_ethdev librte_mbuf
75DIRS-$(CONFIG_RTE_LIBRTE_POWER) += librte_power
9f95a23c 76DEPDIRS-librte_power := librte_eal librte_timer
11fdf7f2
TL
77DIRS-$(CONFIG_RTE_LIBRTE_METER) += librte_meter
78DEPDIRS-librte_meter := librte_eal
79DIRS-$(CONFIG_RTE_LIBRTE_FLOW_CLASSIFY) += librte_flow_classify
80DEPDIRS-librte_flow_classify := librte_net librte_table librte_acl
81DIRS-$(CONFIG_RTE_LIBRTE_SCHED) += librte_sched
82DEPDIRS-librte_sched := librte_eal librte_mempool librte_mbuf librte_net
83DEPDIRS-librte_sched += librte_timer
84DIRS-$(CONFIG_RTE_LIBRTE_DISTRIBUTOR) += librte_distributor
85DEPDIRS-librte_distributor := librte_eal librte_mbuf librte_ethdev
86DIRS-$(CONFIG_RTE_LIBRTE_PORT) += librte_port
87DEPDIRS-librte_port := librte_eal librte_mempool librte_mbuf librte_ethdev
88DEPDIRS-librte_port += librte_ip_frag librte_sched
89ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
90DEPDIRS-librte_port += librte_kni
91endif
92DIRS-$(CONFIG_RTE_LIBRTE_TABLE) += librte_table
93DEPDIRS-librte_table := librte_eal librte_mempool librte_mbuf
94DEPDIRS-librte_table += librte_port librte_lpm librte_hash
95ifeq ($(CONFIG_RTE_LIBRTE_ACL),y)
96DEPDIRS-librte_table += librte_acl
97endif
98DIRS-$(CONFIG_RTE_LIBRTE_PIPELINE) += librte_pipeline
99DEPDIRS-librte_pipeline := librte_eal librte_mempool librte_mbuf
100DEPDIRS-librte_pipeline += librte_table librte_port
101DIRS-$(CONFIG_RTE_LIBRTE_REORDER) += librte_reorder
102DEPDIRS-librte_reorder := librte_eal librte_mempool librte_mbuf
103DIRS-$(CONFIG_RTE_LIBRTE_PDUMP) += librte_pdump
104DEPDIRS-librte_pdump := librte_eal librte_mempool librte_mbuf librte_ethdev
105DIRS-$(CONFIG_RTE_LIBRTE_GSO) += librte_gso
106DEPDIRS-librte_gso := librte_eal librte_mbuf librte_ethdev librte_net
107DEPDIRS-librte_gso += librte_mempool
108DIRS-$(CONFIG_RTE_LIBRTE_BPF) += librte_bpf
109DEPDIRS-librte_bpf := librte_eal librte_mempool librte_mbuf librte_ethdev
9f95a23c
TL
110DIRS-$(CONFIG_RTE_LIBRTE_IPSEC) += librte_ipsec
111DEPDIRS-librte_ipsec := librte_eal librte_mbuf librte_cryptodev librte_security
112DIRS-$(CONFIG_RTE_LIBRTE_TELEMETRY) += librte_telemetry
113DEPDIRS-librte_telemetry := librte_eal librte_metrics librte_ethdev
114DIRS-$(CONFIG_RTE_LIBRTE_RCU) += librte_rcu
115DEPDIRS-librte_rcu := librte_eal
11fdf7f2 116
9f95a23c 117ifeq ($(CONFIG_RTE_EXEC_ENV_LINUX),y)
11fdf7f2
TL
118DIRS-$(CONFIG_RTE_LIBRTE_KNI) += librte_kni
119endif
120DEPDIRS-librte_kni := librte_eal librte_mempool librte_mbuf librte_ethdev
121DEPDIRS-librte_kni += librte_pci
122
123include $(RTE_SDK)/mk/rte.subdir.mk