[PATCH v2 1/1] dimlib: Use *-y instead of *-objs in Makefile

From: Andy Shevchenko
Date: Wed Aug 21 2024 - 11:58:20 EST


*-objs suffix is reserved rather for (user-space) host programs while
usually *-y suffix is used for kernel drivers (although *-objs works
for that purpose for now).

Let's correct the old usages of *-objs in Makefiles.

Acked-by: Florian Fainelli <florian.fainelli@xxxxxxxxxxxx>
Reviewed-by: Alexander Lobakin <aleksander.lobakin@xxxxxxxxx>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx>
---
v2: gathered tags (Florian, Alexander), Cc'ed to Andrew to apply
lib/dim/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dim/Makefile b/lib/dim/Makefile
index c4cc4026c451..5b9bfaac7ac1 100644
--- a/lib/dim/Makefile
+++ b/lib/dim/Makefile
@@ -4,4 +4,4 @@

obj-$(CONFIG_DIMLIB) += dimlib.o

-dimlib-objs := dim.o net_dim.o rdma_dim.o
+dimlib-y := dim.o net_dim.o rdma_dim.o
--
2.43.0.rc1.1336.g36b5255a03ac