drivers: add some reasons for meson disabling
[dpdk.git] / drivers / net / memif / meson.build
index bedc973..a44d825 100644 (file)
@@ -1,8 +1,9 @@
 # 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',