Reasons for building not supported generally start with lowercase because printed as the second part of a line. Other changes: - "linux" should be "Linux" with a capital letter. - ARCH_X86_64 may be simply x86_64. - aarch64 is preferred over arm64. Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Acked-by: David Marchand <david.marchand@redhat.com>
24 lines
504 B
Meson
24 lines
504 B
Meson
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2019-2020 Intel Corporation
|
|
|
|
if not is_linux or not dpdk_conf.has('RTE_ARCH_X86_64')
|
|
build = false
|
|
reason = 'only supported on x86_64 Linux'
|
|
subdir_done()
|
|
endif
|
|
|
|
sources = files('dlb2.c',
|
|
'dlb2_iface.c',
|
|
'dlb2_xstats.c',
|
|
'pf/dlb2_main.c',
|
|
'pf/dlb2_pf.c',
|
|
'pf/base/dlb2_resource.c',
|
|
'rte_pmd_dlb2.c',
|
|
'dlb2_selftest.c'
|
|
)
|
|
|
|
headers = files('rte_pmd_dlb2.h')
|
|
|
|
deps += ['mbuf', 'mempool', 'ring', 'pci', 'bus_pci']
|