examples: reduce indentation in build files
[dpdk.git] / examples / performance-thread / l3fwd-thread / meson.build
index 185fa59..58d4e96 100644 (file)
@@ -7,21 +7,26 @@
 # DPDK instance, use 'make'
 
 build = dpdk_conf.has('RTE_ARCH_X86_64')
+if not build
+    subdir_done()
+endif
+
 deps += ['timer', 'lpm']
+allow_experimental_apis = true
 
 # get the performance thread (pt) architecture subdir
 if dpdk_conf.has('RTE_ARCH_ARM64')
-       pt_arch_dir = '../common/arch/arm64'
+    pt_arch_dir = '../common/arch/arm64'
 else
-       pt_arch_dir = '../common/arch/x86'
+    pt_arch_dir = '../common/arch/x86'
 endif
 sources += files('main.c',
-       '../common/lthread.c',
-       '../common/lthread_cond.c',
-       '../common/lthread_diag.c',
-       '../common/lthread_mutex.c',
-       '../common/lthread_sched.c',
-       '../common/lthread_tls.c',
-       pt_arch_dir + '/ctx.c')
+    '../common/lthread.c',
+    '../common/lthread_cond.c',
+    '../common/lthread_diag.c',
+    '../common/lthread_mutex.c',
+    '../common/lthread_sched.c',
+    '../common/lthread_tls.c',
+    pt_arch_dir + '/ctx.c')
 
 includes += include_directories('../common', pt_arch_dir)