build: disable experimental API check internally
[dpdk.git] / drivers / net / tap / meson.build
index 9cb7142..c1cdf9e 100644 (file)
@@ -1,8 +1,9 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright 2018 Luca Boccassi <bluca@debian.org>
 
-if host_machine.system() != 'linux'
-        build = false
+if not is_linux
+       build = false
+       reason = 'only supported on linux'
 endif
 sources = files(
        'rte_eth_tap.c',
@@ -38,7 +39,6 @@ args = [
          'TCA_ACT_BPF_FD' ],
 ]
 config = configuration_data()
-allow_experimental_apis = true
 foreach arg:args
        config.set(arg[0], cc.has_header_symbol(arg[1], arg[2]))
 endforeach