build: align wording of non-support reasons
[dpdk.git] / drivers / mempool / dpaa / meson.build
index 08423c2..09f5295 100644 (file)
@@ -1,8 +1,9 @@
 # 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']