From 9cc02b1794a0e5576e9f0f0e1b9508d0632d5d6b Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Tue, 20 Apr 2021 11:22:18 +0100 Subject: [PATCH] lib: tidy up build list With the lib/meson.build file changed from C-style indentation to python-style indentation, we need to correct the indentation of the lists of libraries, since these libs were not modified in the previous patches. For ease of management of the list and working with patches for adding to the list, put each library on it's own line. Signed-off-by: Bruce Richardson --- lib/meson.build | 104 +++++++++++++++++++++++++++++++----------------- 1 file changed, 68 insertions(+), 36 deletions(-) diff --git a/lib/meson.build b/lib/meson.build index 95fcd01896..9b99aa0be0 100644 --- a/lib/meson.build +++ b/lib/meson.build @@ -9,44 +9,76 @@ # given as a dep, no need to mention ring. This is especially true for the # core libs which are widely reused, so their deps are kept to a minimum. libraries = [ - 'kvargs', # eal depends on kvargs - 'telemetry', # basic info querying - 'eal', # everything depends on eal - 'ring', - 'rcu', # rcu depends on ring - 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', # core - 'cmdline', - 'metrics', # bitrate/latency stats depends on this - 'hash', # efd depends on this - 'timer', # eventdev depends on this - 'acl', 'bbdev', 'bitratestats', 'cfgfile', - 'compressdev', 'cryptodev', - 'distributor', 'efd', 'eventdev', - 'gro', 'gso', 'ip_frag', 'jobstats', - 'kni', 'latencystats', 'lpm', 'member', - 'power', 'pdump', 'rawdev', 'regexdev', - 'rib', 'reorder', 'sched', 'security', 'stack', 'vhost', - # ipsec lib depends on net, crypto and security - 'ipsec', - #fib lib depends on rib - 'fib', - # add pkt framework libs which use other libs from above - 'port', 'table', 'pipeline', - # flow_classify lib depends on pkt framework table lib - 'flow_classify', 'bpf', 'graph', 'node'] + 'kvargs', # eal depends on kvargs + 'telemetry', # basic info querying + 'eal', # everything depends on eal + 'ring', + 'rcu', # rcu depends on ring + 'mempool', + 'mbuf', + 'net', + 'meter', + 'ethdev', + 'pci', # core + 'cmdline', + 'metrics', # bitrate/latency stats depends on this + 'hash', # efd depends on this + 'timer', # eventdev depends on this + 'acl', + 'bbdev', + 'bitratestats', + 'cfgfile', + 'compressdev', + 'cryptodev', + 'distributor', + 'efd', + 'eventdev', + 'gro', + 'gso', + 'ip_frag', + 'jobstats', + 'kni', + 'latencystats', + 'lpm', + 'member', + 'power', + 'pdump', + 'rawdev', + 'regexdev', + 'rib', + 'reorder', + 'sched', + 'security', + 'stack', + 'vhost', + 'ipsec', # ipsec lib depends on net, crypto and security + 'fib', #fib lib depends on rib + 'port', # pkt framework libs which use other libs from above + 'table', + 'pipeline', + 'flow_classify', # flow_classify lib depends on pkt framework table lib + 'bpf', + 'graph', + 'node', +] if is_windows - libraries = [ - 'kvargs', - 'telemetry', - 'eal', - 'ring', - 'rcu', - 'mempool', 'mbuf', 'net', 'meter', 'ethdev', 'pci', - 'cmdline', - 'hash', - 'cfgfile', - ] # only supported libraries for windows + libraries = [ + 'kvargs', + 'telemetry', + 'eal', + 'ring', + 'rcu', + 'mempool', + 'mbuf', + 'net', + 'meter', + 'ethdev', + 'pci', + 'cmdline', + 'hash', + 'cfgfile', + ] # only supported libraries for windows endif default_cflags = machine_args -- 2.20.1