[dpdk-dev] [PATCH 02/14] build: tidy up list of libraries to build

Bruce Richardson bruce.richardson at intel.com
Fri Apr 16 19:04:46 CEST 2021


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 <bruce.richardson at intel.com>
---
 lib/meson.build | 104 +++++++++++++++++++++++++++++++-----------------
 1 file changed, 68 insertions(+), 36 deletions(-)

diff --git a/lib/meson.build b/lib/meson.build
index 95fcd0189..9b99aa0be 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.27.0



More information about the dev mailing list