dimlib: Use *-y instead of *-objs in Makefile
PATCH 1/1 dimlib: Use *-y instead of *-objs in Makefile
*-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.
---
Reported by Olek. As I said him this is correct change which is documented in Documentation/kbuild/makefiles.rst "Composite Host Programs" (mind the meaning of the word "host"!).
lib/dim/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/dim/Makefile +1 -1
@@ -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
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
From: Andy Shevchenko <[email protected]>
Date: Wed, 8 May 2024 17:29:42 +0300
Quoted 7 lines
*-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.
Signed-off-by Andy Shevchenko <[email protected]>
Quoted 14 lines
---
Reported by Olek. As I said him this is correct change which is documented in
Documentation/kbuild/makefiles.rst"Composite Host Programs" (mind the meaning of the word "host"!).lib/dim/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)lib/dim/Makefile +0
-0
lib/dim/Makefile line 7
Quoted 5 lines
lib/dim/Makefile +1
-1@@ -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
Thanks,
Olek
Quoted 7 lines · Andy Shevchenko
*-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.
Signed-off-by Andy Shevchenko <[email protected]>
Quoted 5 lines
---
Reported by Olek. As I said him this is correct change which is documented in
Documentation/kbuild/makefiles.rst"Composite Host Programs" (mind the meaning of the word "host"!).
Why not credit him with an official Reported-by?
Quoted 14 lines
lib/dim/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)lib/dim/Makefile +1
-1@@ -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
Signature · 1 line
Florian
Quoted 11 lines · Florian Fainelli
Quoted 7 lines · Andy Shevchenko
*-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.
Signed-off-by Andy Shevchenko <[email protected]>Acked-by Florian Fainelli <[email protected]>
Quoted 7 lines
Quoted 5 lines
---
Reported by Olek. As I said him this is correct change which is documented in
Documentation/kbuild/makefiles.rst"Composite Host Programs" (mind the meaning of the word "host"!).Why not credit him with an official Reported-by?
No problem
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 14 lines · Andy Shevchenko
Quoted 13 lines · Florian Fainelli
Quoted 7 lines · Andy Shevchenko
*-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.
Signed-off-by Andy Shevchenko <[email protected]>Acked-by Florian Fainelli <[email protected]>Quoted 1 line
Quoted 8 lines
Quoted 5 lines
Quoted 3 lines
Reported by Olek. As I said him this is correct change which is documented in
Documentation/kbuild/makefiles.rst"Composite Host Programs" (mind the meaning of the word "host"!).Why not credit him with an official Reported-by?
No problem
Reported-by Alexander Lobakin <[email protected]>
Who is going to apply this?
Signature · 2 lines
With Best Regards, Andy Shevchenko