[v2,3/6] net/avp: disable avp build in FREEBSD
Checks
Commit Message
Disabled avp build in FreeBSD because it is not supported.
Added changes to enable avp build if it is Linux OS and
disable in FreeBSD.
Signed-off-by: Agalya Babu RadhaKrishnan <agalyax.babu.radhakrishnan@intel.com>
---
drivers/net/avp/meson.build | 3 +++
1 file changed, 3 insertions(+)
Comments
> -----Original Message-----
> From: Agalya Babu RadhaKrishnan
> [mailto:agalyax.babu.radhakrishnan@intel.com]
> Sent: Wednesday, October 03, 2018 10:00 AM
> To: dev@dpdk.org
> Cc: alejandro.lucero@netronome.com; Legacy, Allain;
> jasvinder.singh@intel.com; keith.wiles@intel.com; matan@mellanox.com;
> bruce.richardson@intel.com; reshma.pattan@intel.com; Agalya Babu
> RadhaKrishnan
> Subject: [PATCH v2 3/6] net/avp: disable avp build in FREEBSD
>
> Disabled avp build in FreeBSD because it is not supported.
> Added changes to enable avp build if it is Linux OS and disable in FreeBSD.
>
> Signed-off-by: Agalya Babu RadhaKrishnan
> <agalyax.babu.radhakrishnan@intel.com>
> ---
For net/avp:
Acked-by: Allain Legacy <allain.legacy@windriver.com>
@@ -1,5 +1,8 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2018 Intel Corporation
+if host_machine.system() != 'linux'
+ build = false
+endif
sources = files('avp_ethdev.c')
install_headers('rte_avp_common.h', 'rte_avp_fifo.h')