drivers: change indentation in build files
[dpdk.git] / drivers / common / mlx5 / meson.build
index b2efea4..b5585d2 100644 (file)
@@ -2,38 +2,38 @@
 # Copyright 2019 Mellanox Technologies, Ltd
 
 if not (is_linux or (is_windows and is_ms_linker))
-       build = false
-       reason = 'only supported on Linux and Windows build with clang'
-       subdir_done()
+    build = false
+    reason = 'only supported on Linux and Windows build with clang'
+    subdir_done()
 endif
 
 deps += ['hash', 'pci', 'bus_pci', 'net', 'eal', 'kvargs']
 sources += files(
-       'mlx5_devx_cmds.c',
-       'mlx5_common.c',
-       'mlx5_common_mp.c',
-       'mlx5_common_mr.c',
-       'mlx5_malloc.c',
-       'mlx5_common_pci.c',
-       'mlx5_common_devx.c',
+        'mlx5_devx_cmds.c',
+        'mlx5_common.c',
+        'mlx5_common_mp.c',
+        'mlx5_common_mr.c',
+        'mlx5_malloc.c',
+        'mlx5_common_pci.c',
+        'mlx5_common_devx.c',
 )
 
 cflags_options = [
-       '-std=c11',
-       '-Wno-strict-prototypes',
-       '-D_BSD_SOURCE',
-       '-D_DEFAULT_SOURCE',
-       '-D_XOPEN_SOURCE=600'
+        '-std=c11',
+        '-Wno-strict-prototypes',
+        '-D_BSD_SOURCE',
+        '-D_DEFAULT_SOURCE',
+        '-D_XOPEN_SOURCE=600'
 ]
 foreach option:cflags_options
-       if cc.has_argument(option)
-               cflags += option
-       endif
+    if cc.has_argument(option)
+        cflags += option
+    endif
 endforeach
 if get_option('buildtype').contains('debug')
-       cflags += [ '-pedantic', '-DPEDANTIC' ]
+    cflags += [ '-pedantic', '-DPEDANTIC' ]
 else
-       cflags += [ '-UPEDANTIC' ]
+    cflags += [ '-UPEDANTIC' ]
 endif
 
 subdir(exec_env)