[PATCH 0/4] platform-x86: Use *-y instead of *-objs in Makefiles

Kurt Borja posted 4 patches 10 months ago
drivers/platform/x86/amd/Makefile                  | 2 +-
drivers/platform/x86/amd/hsmp/Makefile             | 6 +++---
drivers/platform/x86/amd/pmc/Makefile              | 6 +++---
drivers/platform/x86/amd/pmf/Makefile              | 8 ++++----
drivers/platform/x86/dell/dell-wmi-sysman/Makefile | 2 +-
drivers/platform/x86/hp/hp-bioscfg/Makefile        | 2 +-
drivers/platform/x86/intel/ifs/Makefile            | 2 +-
7 files changed, 14 insertions(+), 14 deletions(-)
[PATCH 0/4] platform-x86: Use *-y instead of *-objs in Makefiles
Posted by Kurt Borja 10 months ago
Hi all,

According to documentation, the `-objs` suffix is reserved to user-space
and host programs. The `-y` suffix should be used for composite kernel
modules and drivers.

[1] https://elixir.bootlin.com/linux/v6.14-rc3/source/Documentation/kbuild/makefiles.rst#L153

Based on pdx86/fixes branch.

Kurt Borja (4):
  platform/x86: dell: dell-wmi-sysman: Use *-y instead of *-objs in
    Makefile
  platform/x86: amd: Use *-y instead of *-objs in Makefiles
  platform/x86: hp: Use *-y instead of *-objs in Makefile
  platform/x86: intel: Use *-y instead of *-objs in Makefile

 drivers/platform/x86/amd/Makefile                  | 2 +-
 drivers/platform/x86/amd/hsmp/Makefile             | 6 +++---
 drivers/platform/x86/amd/pmc/Makefile              | 6 +++---
 drivers/platform/x86/amd/pmf/Makefile              | 8 ++++----
 drivers/platform/x86/dell/dell-wmi-sysman/Makefile | 2 +-
 drivers/platform/x86/hp/hp-bioscfg/Makefile        | 2 +-
 drivers/platform/x86/intel/ifs/Makefile            | 2 +-
 7 files changed, 14 insertions(+), 14 deletions(-)


base-commit: a787ab73e2e43c0a3df10bc8d9b9b7a679129d49
-- 
 ~ Kurt
Re: [PATCH 0/4] platform-x86: Use *-y instead of *-objs in Makefiles
Posted by Ilpo Järvinen 9 months, 3 weeks ago
On Tue, 18 Feb 2025 14:41:07 -0500, Kurt Borja wrote:

> According to documentation, the `-objs` suffix is reserved to user-space
> and host programs. The `-y` suffix should be used for composite kernel
> modules and drivers.
> 
> [1] https://elixir.bootlin.com/linux/v6.14-rc3/source/Documentation/kbuild/makefiles.rst#L153
> 
> Based on pdx86/fixes branch.
> 
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/4] platform/x86: dell: dell-wmi-sysman: Use *-y instead of *-objs in Makefile
      commit: 363171c96a15f558cd622e10ea100c505132f7b8
[2/4] platform/x86: amd: Use *-y instead of *-objs in Makefiles
      commit: cfba129ad2775b6ed1f209367905ddb8c9964bf5
[3/4] platform/x86: hp: Use *-y instead of *-objs in Makefile
      commit: f0ea699b1816ebed6de9aa013387622b0f73f31b
[4/4] platform/x86: intel: Use *-y instead of *-objs in Makefile
      commit: 677fb7b0699dde2609d93eb57863c8d493e673ee

--
 i.