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
|
|
|
|
subdir_done()
|
|
|
|
endif
|
|
|
|
|
2020-06-18 16:55:50 +00:00
|
|
|
sources = files('lib/rte_ethtool.c',
|
|
|
|
'ethtool-app/ethapp.c',
|
|
|
|
'ethtool-app/main.c')
|
|
|
|
includes = include_directories('lib', 'ethtool-app')
|
|
|
|
|
|
|
|
deps += 'bus_pci'
|
2021-02-05 08:48:47 +00:00
|
|
|
if dpdk_conf.has('RTE_NET_IXGBE')
|
|
|
|
deps += 'net_ixgbe'
|
2020-06-18 16:55:50 +00:00
|
|
|
endif
|
|
|
|
|
|
|
|
allow_experimental_apis = true
|