Re: [PATCH v1 1/1] iommu/arm-smmu-v3: Use *-y instead of *-objs in Makefile
From: Jason Gunthorpe
Date: Thu May 09 2024 - 10:28:03 EST
On Wed, May 08, 2024 at 06:15:55PM +0300, 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@xxxxxxxxxxxxxxx>
> ---
>
> Note, the original approach is weirdest from the existing.
> Only a few drivers use this (-objs-y) one most likely by mistake.
>
> drivers/iommu/arm/arm-smmu-v3/Makefile | 7 +++----
> 1 file changed, 3 insertions(+), 4 deletions(-)
Reviewed-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
Jason