4d5e5fe368e04c1a58a62bce7b76309f1dc7674c
[dpdk.git] / drivers / net / kni / meson.build
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Intel Corporation
3
4 if is_windows
5         build = false
6         reason = 'not supported on Windows'
7         subdir_done()
8 endif
9
10 # this driver can be built if-and-only-if KNI library is buildable
11 build = dpdk_conf.has('RTE_LIB_KNI')
12 reason = 'missing dependency, DPDK KNI library'
13 sources = files('rte_eth_kni.c')
14 deps += 'kni'