From af52427f21ce44dd8a9de20c6188f9ddd32bd0bd Mon Sep 17 00:00:00 2001 From: WeebDataHoarder <57538841+WeebDataHoarder@users.noreply.github.com> Date: Thu, 15 Oct 2020 00:29:50 +0200 Subject: [PATCH] changed meson build for fm10k --- drivers/net/fm10k/meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/net/fm10k/meson.build b/drivers/net/fm10k/meson.build index 11152a340..9797588bc 100644 --- a/drivers/net/fm10k/meson.build +++ b/drivers/net/fm10k/meson.build @@ -1,12 +1,15 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -subdir('base') -objs = [base_objs] + if get_option('fm10k_switch') dpdk_conf.set('RTE_FM10K_SWITCH_MANAGEMENT', 1) + subdir('base') subdir('switch') objs = [base_objs, switch_objs] +else + subdir('base') + objs = [base_objs] endif sources = files(