]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/avp/meson.build
net/ice/base: add helper function to redirect flags
[dpdk.git] / drivers / net / avp / meson.build
index b7ffdfc80bfaa6746ff03f8c026d35af72263112..ea9dd1f20e4bc350fa168dbad92b22fe97c7ccca 100644 (file)
@@ -1,8 +1,9 @@
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright(c) 2018 Intel Corporation
 
-if host_machine.system() != 'linux'
-        build = false
+if not is_linux
+    build = false
+    reason = 'only supported on Linux'
 endif
 sources = files('avp_ethdev.c')
-install_headers('rte_avp_common.h', 'rte_avp_fifo.h')
+headers = files('rte_avp_common.h', 'rte_avp_fifo.h')