diff mbox series

[v2,05/15] net/cxgbe: add to meson build

Message ID 20180608212048.67261-6-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: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
 drivers/net/cxgbe/meson.build | 11 +++++++++++
 drivers/net/meson.build       |  2 +-
 2 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 drivers/net/cxgbe/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: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
>  drivers/net/cxgbe/meson.build | 11 +++++++++++
>  drivers/net/meson.build       |  2 +-
>  2 files changed, 12 insertions(+), 1 deletion(-)
>  create mode 100644 drivers/net/cxgbe/meson.build
> 
> diff --git a/drivers/net/cxgbe/meson.build b/drivers/net/cxgbe/meson.build
> new file mode 100644
> index 000000000..8196e8afb
> --- /dev/null
> +++ b/drivers/net/cxgbe/meson.build
> @@ -0,0 +1,11 @@
> +# SPDX-License-Identifier: BSD-3-Clause
> +# Copyright(c) 2018 Intel Corporation
> +
> +sources = files('cxgbe_ethdev.c',
> +	'cxgbe_main.c',
> +	'cxgbevf_ethdev.c',
> +	'cxgbevf_main.c',
> +	'sge.c',
> +	'base/t4_hw.c',
> +	'base/t4vf_hw.c')

Recently added files, in next-net commits, added while applying:
cxgbe_filter.c
cxgbe_flow.c

> +includes += include_directories('base')
> diff --git a/drivers/net/meson.build b/drivers/net/meson.build
> index d012c62fe..c55ca65a5 100644
> --- a/drivers/net/meson.build
> +++ b/drivers/net/meson.build
> @@ -3,7 +3,7 @@
>  
>  drivers = ['af_packet', 'ark', 'avp',
>  	'axgbe', 'bonding', 'bnx2x',
> -	'bnxt', 'dpaa', 'dpaa2',
> +	'bnxt', 'cxgbe', 'dpaa', 'dpaa2',
>  	'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe',
>  	'mvpp2', 'null', 'octeontx', 'pcap', 'ring',
>  	'sfc', 'thunderx', 'virtio']
>
diff mbox series

Patch

diff --git a/drivers/net/cxgbe/meson.build b/drivers/net/cxgbe/meson.build
new file mode 100644
index 000000000..8196e8afb
--- /dev/null
+++ b/drivers/net/cxgbe/meson.build
@@ -0,0 +1,11 @@ 
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Intel Corporation
+
+sources = files('cxgbe_ethdev.c',
+	'cxgbe_main.c',
+	'cxgbevf_ethdev.c',
+	'cxgbevf_main.c',
+	'sge.c',
+	'base/t4_hw.c',
+	'base/t4vf_hw.c')
+includes += include_directories('base')
diff --git a/drivers/net/meson.build b/drivers/net/meson.build
index d012c62fe..c55ca65a5 100644
--- a/drivers/net/meson.build
+++ b/drivers/net/meson.build
@@ -3,7 +3,7 @@ 
 
 drivers = ['af_packet', 'ark', 'avp',
 	'axgbe', 'bonding', 'bnx2x',
-	'bnxt', 'dpaa', 'dpaa2',
+	'bnxt', 'cxgbe', 'dpaa', 'dpaa2',
 	'e1000', 'enic', 'fm10k', 'i40e', 'ixgbe',
 	'mvpp2', 'null', 'octeontx', 'pcap', 'ring',
 	'sfc', 'thunderx', 'virtio']