build: disable experimental API check internally
[dpdk.git] / drivers / net / memif / meson.build
index 287a30e..9c3ba43 100644 (file)
@@ -1,15 +1,12 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright 2018-2019 Cisco Systems, Inc.  All rights reserved.
 
-if host_machine.system() != 'linux'
-        build = false
+if not is_linux
+       build = false
+       reason = 'only supported on Linux'
 endif
 
 sources = files('rte_eth_memif.c',
                'memif_socket.c')
 
-allow_experimental_apis = true
-# Experimantal APIs:
-# - rte_intr_callback_unregister_pending
-
 deps += ['hash']