diff mbox series

[v2,06/15] net/ena: add to meson build

Message ID 20180608212048.67261-7-bruce.richardson@intel.com (mailing list archive)
State Accepted, archived
Delegated to: Ferruh Yigit
Headers show
Series add meson support for more net drivers | expand

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Bruce Richardson June 8, 2018, 9:20 p.m. UTC
CC: Marcin Wojtas <mw@semihalf.com>
CC: Michal Krawczyk <mk@semihalf.com>
CC: Guy Tzalik <gtzalik@amazon.com>
CC: Evgeny Schemeilin <evgenys@amazon.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 drivers/net/ena/meson.build | 8 ++++++++
 drivers/net/meson.build     | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/ena/meson.build

Comments

Ferruh Yigit June 14, 2018, 2:55 p.m. UTC | #1
On 6/8/2018 10:20 PM, Bruce Richardson wrote:
> CC: Marcin Wojtas <mw@semihalf.com>
> CC: Michal Krawczyk <mk@semihalf.com>
> CC: Guy Tzalik <gtzalik@amazon.com>
> CC: Evgeny Schemeilin <evgenys@amazon.com>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
>  drivers/net/ena/meson.build | 8 ++++++++
>  drivers/net/meson.build     | 3 ++-
>  2 files changed, 10 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/net/ena/meson.build
> 
> diff --git a/drivers/net/ena/meson.build b/drivers/net/ena/meson.build
> new file mode 100644
> index 000000000..542f29567
> --- /dev/null
> +++ b/drivers/net/ena/meson.build
> @@ -0,0 +1,8 @@
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright(c) 2018 Intel Corporation
> +
> +allow_experimental_apis = true
> +sources = files('ena_ethdev.c',
> +	'base/ena_com.c',
> +	'base/ena_eth_com.c')

Added missing rte_timer dependency while merging:

deps += ['timer']

> +includes += include_directories('base', 'base/ena_defs')
> diff --git a/drivers/net/meson.build b/drivers/net/meson.build
> index c55ca65a5..d4c7d58ab 100644
> --- a/drivers/net/meson.build
> +++ b/drivers/net/meson.build
> @@ -4,7 +4,8 @@
>  drivers = ['af_packet', 'ark', 'avp',
>  	'axgbe', 'bonding', 'bnx2x',
>  	'bnxt', 'cxgbe', 'dpaa', 'dpaa2',
> -	'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe',
> +	'e1000', 'ena', 'enic',
> +	'fm10k', 'i40e', 'ixgbe',
>  	'mvpp2', 'null', 'octeontx', 'pcap', 'ring',
>  	'sfc', 'thunderx', 'virtio']
>  std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc
>
diff mbox series

Patch

diff --git a/drivers/net/ena/meson.build b/drivers/net/ena/meson.build
new file mode 100644
index 000000000..542f29567
--- /dev/null
+++ b/drivers/net/ena/meson.build
@@ -0,0 +1,8 @@ 
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+allow_experimental_apis = true
+sources = files('ena_ethdev.c',
+	'base/ena_com.c',
+	'base/ena_eth_com.c')
+includes += include_directories('base', 'base/ena_defs')
diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index c55ca65a5..d4c7d58ab 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -4,7 +4,8 @@ 
 drivers = ['af_packet', 'ark', 'avp',
 	'axgbe', 'bonding', 'bnx2x',
 	'bnxt', 'cxgbe', 'dpaa', 'dpaa2',
-	'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe',
+	'e1000', 'ena', 'enic',
+	'fm10k', 'i40e', 'ixgbe',
 	'mvpp2', 'null', 'octeontx', 'pcap', 'ring',
 	'sfc', 'thunderx', 'virtio']
 std_deps = ['ethdev', 'kvargs'] # 'ethdev' also pulls in mbuf, net, eal etc