f-stack/dpdk/examples/ethtool/meson.build

27 lines
591 B
Meson
Raw Normal View History

2019-06-25 11:12:58 +00:00
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
# meson file, for building this example as part of a main DPDK build.
#
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
2020-06-18 16:55:50 +00:00
build = is_linux
2021-02-05 08:48:47 +00:00
if not build
2022-09-06 04:00:10 +00:00
subdir_done()
2021-02-05 08:48:47 +00:00
endif
2022-09-06 04:00:10 +00:00
sources = files(
'lib/rte_ethtool.c',
'ethtool-app/ethapp.c',
'ethtool-app/main.c',
)
2020-06-18 16:55:50 +00:00
includes = include_directories('lib', 'ethtool-app')
deps += 'bus_pci'
2021-02-05 08:48:47 +00:00
if dpdk_conf.has('RTE_NET_IXGBE')
2022-09-06 04:00:10 +00:00
deps += 'net_ixgbe'
2020-06-18 16:55:50 +00:00
endif
allow_experimental_apis = true