RDMA/mlx5: Alphabetically sort build artifacts
authorLeon Romanovsky <leonro@mellanox.com>
Wed, 1 Apr 2020 08:48:47 +0000 (11:48 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Sun, 19 Apr 2020 12:53:20 +0000 (15:53 +0300)
Sort .o objects in makefile to make addition of new object
less cumbersome.

Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/mlx5/Makefile

index 2a33480..375b341 100644 (file)
@@ -1,11 +1,24 @@
 # SPDX-License-Identifier: GPL-2.0-only
-obj-$(CONFIG_MLX5_INFINIBAND)  += mlx5_ib.o
+obj-$(CONFIG_MLX5_INFINIBAND) += mlx5_ib.o
+
+mlx5_ib-y := ah.o \
+            cmd.o \
+            cong.o \
+            cq.o \
+            doorbell.o \
+            gsi.o \
+            ib_virt.o \
+            mad.o \
+            main.o \
+            mem.o \
+            mr.o \
+            qp.o \
+            restrack.o \
+            srq.o \
+            srq_cmd.o
 
-mlx5_ib-y :=   main.o cq.o doorbell.o qp.o mem.o srq_cmd.o \
-               srq.o mr.o ah.o mad.o gsi.o ib_virt.o cmd.o \
-               cong.o restrack.o
 mlx5_ib-$(CONFIG_INFINIBAND_ON_DEMAND_PAGING) += odp.o
 mlx5_ib-$(CONFIG_MLX5_ESWITCH) += ib_rep.o
-mlx5_ib-$(CONFIG_INFINIBAND_USER_ACCESS) += devx.o
-mlx5_ib-$(CONFIG_INFINIBAND_USER_ACCESS) += flow.o
-mlx5_ib-$(CONFIG_INFINIBAND_USER_ACCESS) += qos.o
+mlx5_ib-$(CONFIG_INFINIBAND_USER_ACCESS) += devx.o \
+                                           flow.o \
+                                           qos.o