Skip to content

Commit 2fa6b8c

Browse files
committed
platform/x86: amd: Use *-y instead of *-objs in Makefiles [partial]
JIRA: https://issues.redhat.com/browse/RHEL-104142 Conflicts: take only amd/pmf/Makefile the other parts are coming in with updates for pmc and hsmp commit cfba129 Author: Kurt Borja <kuurtb@gmail.com> Date: Tue Feb 18 14:41:09 2025 -0500 platform/x86: amd: Use *-y instead of *-objs in Makefiles The `objs` suffix is reserved for user-space tools. Use the `y` suffix instead, which is usually used for kernel drivers. While at it, fix alignment in AMD PMC and PMF Makefiles. Suggested-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Kurt Borja <kuurtb@gmail.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20250218194113.26589-3-kuurtb@gmail.com Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Signed-off-by: Steve Best <sbest@redhat.com>
1 parent 809c6a8 commit 2fa6b8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

drivers/platform/x86/amd/pmf/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# AMD Platform Management Framework
55
#
66

7-
obj-$(CONFIG_AMD_PMF) += amd-pmf.o
8-
amd-pmf-objs := core.o acpi.o sps.o \
9-
auto-mode.o cnqf.o \
10-
tee-if.o spc.o
7+
obj-$(CONFIG_AMD_PMF) += amd-pmf.o
8+
amd-pmf-y := core.o acpi.o sps.o \
9+
auto-mode.o cnqf.o \
10+
tee-if.o spc.o

0 commit comments

Comments
 (0)