build: disable experimental API check internally
[dpdk.git] / drivers / mempool / dpaa / meson.build
index 9163b3d..754e639 100644 (file)
@@ -1,12 +1,10 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright 2018 NXP
 
-if host_machine.system() != 'linux'
-        build = false
+if not is_linux
+       build = false
+       reason = 'only supported on linux'
 endif
 
 deps += ['bus_dpaa']
 sources = files('dpaa_mempool.c')
-
-# depends on dpaa bus which uses experimental API
-allow_experimental_apis = true