Define variables for "is_linux", "is_freebsd" and "is_windows" to make the code shorter for comparisons and more readable. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: David Marchand <david.marchand@redhat.com> Acked-by: Luca Boccassi <bluca@debian.org>
11 lines
248 B
Meson
11 lines
248 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 Intel Corporation
|
|
|
|
if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
|
|
build = false
|
|
endif
|
|
version = 2
|
|
sources = files('rte_kni.c')
|
|
headers = files('rte_kni.h')
|
|
deps += ['ethdev', 'pci']
|