build: disable experimental API check internally
[dpdk.git] / drivers / net / axgbe / meson.build
index 548ffff..86873b7 100644 (file)
@@ -1,8 +1,9 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved.
 
-if host_machine.system() != 'linux'
+if not is_linux
        build = false
+       reason = 'only supported on linux'
 endif
 
 sources = files('axgbe_ethdev.c',