4f49c9f5be
When building with meson, set build to false when building unsupported example apps on FreeBSD. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Tested-by: Harry van Haaren <harry.van.haaren@intel.com>
17 lines
407 B
Meson
17 lines
407 B
Meson
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright(c) 2017 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'
|
|
|
|
if host_machine.system() != 'linux'
|
|
build = false
|
|
endif
|
|
deps += 'vhost'
|
|
allow_experimental_apis = true
|
|
sources = files(
|
|
'main.c', 'virtio_net.c'
|
|
)
|