diff mbox series

[4/4] platform/x86: intel: Use *-y instead of *-objs in Makefile

Message ID 20250218194113.26589-5-kuurtb@gmail.com (mailing list archive)
State New
Headers show
Series platform-x86: Use *-y instead of *-objs in Makefiles | expand

Commit Message

Kurt Borja Feb. 18, 2025, 7:41 p.m. UTC
The `objs` suffix is reserved for user-space tools. Use the `y` suffix
instead, which is usually used for kernel drivers.

Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Kurt Borja <kuurtb@gmail.com>
---
 drivers/platform/x86/intel/ifs/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Joseph, Jithu Feb. 19, 2025, 12:10 a.m. UTC | #1
On 2/18/2025 11:41 AM, Kurt Borja wrote:
> The `objs` suffix is reserved for user-space tools. Use the `y` suffix
> instead, which is usually used for kernel drivers.
> 
> Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> Signed-off-by: Kurt Borja <kuurtb@gmail.com>
> ---
>  drivers/platform/x86/intel/ifs/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Looks good to me (and verified that driver is getting built)

Reviewed-by: Jithu Joseph <jithu.joseph@intel.com>

> 
> diff --git a/drivers/platform/x86/intel/ifs/Makefile b/drivers/platform/x86/intel/ifs/Makefile
> index 30f035ef5581..c3e417bce9b6 100644
> --- a/drivers/platform/x86/intel/ifs/Makefile
> +++ b/drivers/platform/x86/intel/ifs/Makefile
> @@ -1,3 +1,3 @@
>  obj-$(CONFIG_INTEL_IFS)		+= intel_ifs.o
>  
> -intel_ifs-objs			:= core.o load.o runtest.o sysfs.o
> +intel_ifs-y			:= core.o load.o runtest.o sysfs.o


Thanks
Jithu
andriy.shevchenko@linux.intel.com Feb. 19, 2025, 2:36 p.m. UTC | #2
On Tue, Feb 18, 2025 at 02:41:11PM -0500, Kurt Borja wrote:
> The `objs` suffix is reserved for user-space tools. Use the `y` suffix
> instead, which is usually used for kernel drivers.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

for all 4.
diff mbox series

Patch

diff --git a/drivers/platform/x86/intel/ifs/Makefile b/drivers/platform/x86/intel/ifs/Makefile
index 30f035ef5581..c3e417bce9b6 100644
--- a/drivers/platform/x86/intel/ifs/Makefile
+++ b/drivers/platform/x86/intel/ifs/Makefile
@@ -1,3 +1,3 @@ 
 obj-$(CONFIG_INTEL_IFS)		+= intel_ifs.o
 
-intel_ifs-objs			:= core.o load.o runtest.o sysfs.o
+intel_ifs-y			:= core.o load.o runtest.o sysfs.o