X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fnet%2Fsoftnic%2Fmeson.build;h=e31bdece7b0d141286397fbcb16fac408f4aed93;hb=eadcfd95ffde80b679b757d060f889f683c96266;hp=da249c068decf2118cda82c0aa15039533159a77;hpb=ddb05fec8c4cfadf5e5496b0919e78a7d7038799;p=dpdk.git diff --git a/drivers/net/softnic/meson.build b/drivers/net/softnic/meson.build index da249c068d..e31bdece7b 100644 --- a/drivers/net/softnic/meson.build +++ b/drivers/net/softnic/meson.build @@ -1,11 +1,11 @@ # 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 -allow_experimental_apis = true -install_headers('rte_eth_softnic.h') +headers = files('rte_eth_softnic.h') sources = files('rte_eth_softnic_tm.c', 'rte_eth_softnic.c', 'rte_eth_softnic_mempool.c',