public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] dimlib: Use *-y instead of *-objs in Makefile
@ 2024-05-08 14:29 Andy Shevchenko
  2024-05-08 14:41 ` Alexander Lobakin
  2024-05-08 17:39 ` Florian Fainelli
  0 siblings, 2 replies; 5+ messages in thread
From: Andy Shevchenko @ 2024-05-08 14:29 UTC (permalink / raw)
  To: linux-kernel
  Cc: Tal Gilboa, Florian Fainelli, Alexander Lobakin, 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 <andriy.shevchenko@linux.intel.com>
---

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(-)

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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/1] dimlib: Use *-y instead of *-objs in Makefile
  2024-05-08 14:29 [PATCH v1 1/1] dimlib: Use *-y instead of *-objs in Makefile Andy Shevchenko
@ 2024-05-08 14:41 ` Alexander Lobakin
  2024-05-08 17:39 ` Florian Fainelli
  1 sibling, 0 replies; 5+ messages in thread
From: Alexander Lobakin @ 2024-05-08 14:41 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linux-kernel, Tal Gilboa, Florian Fainelli

From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Date: Wed, 8 May 2024 17:29:42 +0300

> *-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 <andriy.shevchenko@linux.intel.com>

Reviewed-by: Alexander Lobakin <aleksander.lobakin@intel.com>

> ---
> 
> 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(-)
> 
> 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

Thanks,
Olek

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/1] dimlib: Use *-y instead of *-objs in Makefile
  2024-05-08 14:29 [PATCH v1 1/1] dimlib: Use *-y instead of *-objs in Makefile Andy Shevchenko
  2024-05-08 14:41 ` Alexander Lobakin
@ 2024-05-08 17:39 ` Florian Fainelli
  2024-05-08 17:50   ` Andy Shevchenko
  1 sibling, 1 reply; 5+ messages in thread
From: Florian Fainelli @ 2024-05-08 17:39 UTC (permalink / raw)
  To: Andy Shevchenko, linux-kernel; +Cc: Tal Gilboa, Alexander Lobakin

[-- Attachment #1: Type: text/plain, Size: 1041 bytes --]

On 5/8/24 07:29, Andy Shevchenko wrote:
> *-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 <andriy.shevchenko@linux.intel.com>

Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>

> ---
> 
> 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?

> 
>   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

-- 
Florian


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4221 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/1] dimlib: Use *-y instead of *-objs in Makefile
  2024-05-08 17:39 ` Florian Fainelli
@ 2024-05-08 17:50   ` Andy Shevchenko
  2024-08-13  8:39     ` Andy Shevchenko
  0 siblings, 1 reply; 5+ messages in thread
From: Andy Shevchenko @ 2024-05-08 17:50 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: linux-kernel, Tal Gilboa, Alexander Lobakin

On Wed, May 08, 2024 at 10:39:55AM -0700, Florian Fainelli wrote:
> On 5/8/24 07:29, Andy Shevchenko wrote:
> > *-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 <andriy.shevchenko@linux.intel.com>
> 
> Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
> 
> > ---
> > 
> > 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 <aleksander.lobakin@intel.com>

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH v1 1/1] dimlib: Use *-y instead of *-objs in Makefile
  2024-05-08 17:50   ` Andy Shevchenko
@ 2024-08-13  8:39     ` Andy Shevchenko
  0 siblings, 0 replies; 5+ messages in thread
From: Andy Shevchenko @ 2024-08-13  8:39 UTC (permalink / raw)
  To: Florian Fainelli; +Cc: linux-kernel, Tal Gilboa, Alexander Lobakin

On Wed, May 08, 2024 at 08:50:28PM +0300, Andy Shevchenko wrote:
> On Wed, May 08, 2024 at 10:39:55AM -0700, Florian Fainelli wrote:
> > On 5/8/24 07:29, Andy Shevchenko wrote:
> > > *-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 <andriy.shevchenko@linux.intel.com>
> > 
> > Acked-by: Florian Fainelli <florian.fainelli@broadcom.com>
> > 

> > > 
> > > 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 <aleksander.lobakin@intel.com>

Who is going to apply this?

-- 
With Best Regards,
Andy Shevchenko



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-08-13  8:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-08 14:29 [PATCH v1 1/1] dimlib: Use *-y instead of *-objs in Makefile Andy Shevchenko
2024-05-08 14:41 ` Alexander Lobakin
2024-05-08 17:39 ` Florian Fainelli
2024-05-08 17:50   ` Andy Shevchenko
2024-08-13  8:39     ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox