From: Bruce Richardson Date: Fri, 8 Jun 2018 21:20:40 +0000 (+0100) Subject: net/failsafe: add to meson build X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=3a221aa68f282fc16cf431e3a89dff239565db36;p=dpdk.git net/failsafe: add to meson build Signed-off-by: Bruce Richardson Reviewed-by: Ferruh Yigit --- diff --git a/drivers/net/failsafe/meson.build b/drivers/net/failsafe/meson.build new file mode 100644 index 0000000000..a249ff4af3 --- /dev/null +++ b/drivers/net/failsafe/meson.build @@ -0,0 +1,23 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2018 Intel Corporation + +cflags += '-std=gnu99' +cflags += '-D_DEFAULT_SOURCE' +cflags += '-D_XOPEN_SOURCE=700' +cflags += '-pedantic' +if host_machine.system() == 'linux' + cflags += '-DLINUX' +else + cflags += '-DBSD' +endif + +allow_experimental_apis = true + +sources = files('failsafe_args.c', + 'failsafe.c', + 'failsafe_eal.c', + 'failsafe_ether.c', + 'failsafe_flow.c', + 'failsafe_intr.c', + 'failsafe_ops.c', + 'failsafe_rxtx.c') diff --git a/drivers/net/meson.build b/drivers/net/meson.build index 11a5303d52..035e407693 100644 --- a/drivers/net/meson.build +++ b/drivers/net/meson.build @@ -11,7 +11,9 @@ drivers = ['af_packet', 'dpaa', 'dpaa2', 'e1000', 'ena', - 'enic', 'fm10k', 'i40e', + 'enic', + 'failsafe', + 'fm10k', 'i40e', 'ifc', 'ixgbe', 'mvpp2', 'null', 'octeontx', 'pcap', 'ring',