[PATCH v3 11/11] net/nfp: refact the meson build file

Chaoyong He chaoyong.he at corigine.com
Fri Oct 13 08:06:53 CEST 2023


Make the source files follow the alphabeta sequence.
Also update the copyright header line.

Signed-off-by: Chaoyong He <chaoyong.he at corigine.com>
Reviewed-by: Long Wu <long.wu at corigine.com>
Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
---
 drivers/net/nfp/meson.build | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

diff --git a/drivers/net/nfp/meson.build b/drivers/net/nfp/meson.build
index 7627c3e3f1..40e9ef8524 100644
--- a/drivers/net/nfp/meson.build
+++ b/drivers/net/nfp/meson.build
@@ -1,10 +1,11 @@
 # SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 2018 Intel Corporation
+# Copyright(c) 2018 Corigine, Inc.
 
 if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
     build = false
     reason = 'only supported on 64-bit Linux'
 endif
+
 sources = files(
         'flower/nfp_conntrack.c',
         'flower/nfp_flower.c',
@@ -13,30 +14,30 @@ sources = files(
         'flower/nfp_flower_representor.c',
         'nfd3/nfp_nfd3_dp.c',
         'nfdk/nfp_nfdk_dp.c',
-        'nfpcore/nfp_nsp.c',
         'nfpcore/nfp_cppcore.c',
-        'nfpcore/nfp_resource.c',
-        'nfpcore/nfp_mip.c',
-        'nfpcore/nfp_nffw.c',
-        'nfpcore/nfp_rtsym.c',
-        'nfpcore/nfp_nsp_cmds.c',
         'nfpcore/nfp_crc.c',
         'nfpcore/nfp_dev.c',
+        'nfpcore/nfp_hwinfo.c',
+        'nfpcore/nfp_mip.c',
         'nfpcore/nfp_mutex.c',
+        'nfpcore/nfp_nffw.c',
+        'nfpcore/nfp_nsp.c',
+        'nfpcore/nfp_nsp_cmds.c',
         'nfpcore/nfp_nsp_eth.c',
-        'nfpcore/nfp_hwinfo.c',
+        'nfpcore/nfp_resource.c',
+        'nfpcore/nfp_rtsym.c',
         'nfpcore/nfp_target.c',
         'nfpcore/nfp6000_pcie.c',
         'nfp_common.c',
-        'nfp_ctrl.c',
-        'nfp_rxtx.c',
         'nfp_cpp_bridge.c',
-        'nfp_ethdev_vf.c',
+        'nfp_ctrl.c',
         'nfp_ethdev.c',
+        'nfp_ethdev_vf.c',
         'nfp_flow.c',
         'nfp_ipsec.c',
         'nfp_logs.c',
         'nfp_mtr.c',
+        'nfp_rxtx.c',
 )
 
 deps += ['hash', 'security']
-- 
2.39.1



More information about the dev mailing list