build: disable experimental API check internally
[dpdk.git] / drivers / net / softnic / meson.build
index da249c0..96c003e 100644 (file)
@@ -1,10 +1,10 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-if host_machine.system() != 'linux'
-        build = false
+if not is_linux
+       build = false
+       reason = 'only supported on linux'
 endif
-allow_experimental_apis = true
 install_headers('rte_eth_softnic.h')
 sources = files('rte_eth_softnic_tm.c',
        'rte_eth_softnic.c',