eal/arm: remove unused type
[dpdk.git] / buildtools / chkincs / meson.build
index f345e87..34dcd81 100644 (file)
@@ -2,22 +2,21 @@
 # Copyright(c) 2021 Intel Corporation
 
 if not get_option('check_includes')
-       build = false
-       subdir_done()
+    build = false
+    subdir_done()
 endif
 
 if is_windows
-       # for windows, the shebang line in the script won't work.
-       error('option "check_includes" is not supported on windows')
+    # for windows, the shebang line in the script won't work.
+    error('option "check_includes" is not supported on windows')
 endif
 
 gen_c_file_for_header = find_program('gen_c_file_for_header.py')
 gen_c_files = generator(gen_c_file_for_header,
-       output: '@BASENAME@.c',
-       arguments: ['@INPUT@', '@OUTPUT@'])
+        output: '@BASENAME@.c',
+        arguments: ['@INPUT@', '@OUTPUT@'])
 
 cflags = machine_args
-cflags += '-Wno-unused-function' # needed if we include generic headers
 cflags += '-DALLOW_EXPERIMENTAL_API'
 
 sources = files('main.c')
@@ -25,12 +24,12 @@ sources += gen_c_files.process(dpdk_chkinc_headers)
 
 deps = []
 foreach l:enabled_libs
-       deps += get_variable('static_rte_' + l)
+    deps += get_variable('static_rte_' + l)
 endforeach
 
 executable('chkincs', sources,
-       c_args: cflags,
-       include_directories: includes,
-       dependencies: deps,
-       link_whole: dpdk_static_libraries + dpdk_drivers,
-       install: false)
+        c_args: cflags,
+        include_directories: includes,
+        dependencies: deps,
+        link_whole: dpdk_static_libraries + dpdk_drivers,
+        install: false)