drivers: add some reasons for meson disabling
Some drivers were missing reasons text for their disabling in meson. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: Luca Boccassi <bluca@debian.org>
This commit is contained in:
parent
167d9c6797
commit
8f64150fa5
@ -7,6 +7,7 @@ if dpdk_conf.has('RTE_BBDEV_SDK_AVX2')
|
||||
lib = cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: false)
|
||||
if not lib.found()
|
||||
build = false
|
||||
reason = 'missing dependency, "libturbo"'
|
||||
else
|
||||
ext_deps += cc.find_library('libturbo', dirs: [path + '/lib_turbo'], required: true)
|
||||
ext_deps += cc.find_library('libcrc', dirs: [path + '/lib_crc'], required: true)
|
||||
|
@ -1,8 +1,9 @@
|
||||
# SPDX-License-Identifier: BSD-3-Clause
|
||||
# Copyright 2018-2019 Cisco Systems, Inc. All rights reserved.
|
||||
|
||||
if host_machine.system() != 'linux'
|
||||
if not is_linux
|
||||
build = false
|
||||
reason = 'only supported on Linux'
|
||||
endif
|
||||
|
||||
sources = files('rte_eth_memif.c',
|
||||
|
@ -2,6 +2,7 @@
|
||||
# Copyright 2019 Intel Corporation
|
||||
|
||||
build = dpdk_conf.has('RTE_ARCH_X86')
|
||||
reason = 'only supported on x86'
|
||||
sources = files('ioat_rawdev.c',
|
||||
'ioat_rawdev_test.c')
|
||||
deps += ['rawdev', 'bus_pci', 'mbuf']
|
||||
|
Loading…
Reference in New Issue
Block a user