Unverified Commit cfba129a authored by Kurt Borja's avatar Kurt Borja Committed by Ilpo Järvinen
Browse files

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: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarKurt Borja <kuurtb@gmail.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250218194113.26589-3-kuurtb@gmail.com


Reviewed-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
parent 363171c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@
#

obj-$(CONFIG_AMD_3D_VCACHE)	+= amd_3d_vcache.o
amd_3d_vcache-objs		:= x3d_vcache.o
amd_3d_vcache-y			:= x3d_vcache.o
obj-$(CONFIG_AMD_PMC)		+= pmc/
obj-$(CONFIG_AMD_HSMP)		+= hsmp/
obj-$(CONFIG_AMD_PMF)		+= pmf/
+3 −3
Original line number Diff line number Diff line
@@ -5,8 +5,8 @@
#

obj-$(CONFIG_AMD_HSMP)			+= hsmp_common.o
hsmp_common-objs			:= hsmp.o
hsmp_common-y				:= hsmp.o
obj-$(CONFIG_AMD_HSMP_PLAT)		+= amd_hsmp.o
amd_hsmp-objs				:= plat.o
amd_hsmp-y				:= plat.o
obj-$(CONFIG_AMD_HSMP_ACPI)		+= hsmp_acpi.o
hsmp_acpi-objs				:= acpi.o
hsmp_acpi-y				:= acpi.o
+3 −3
Original line number Diff line number Diff line
@@ -4,6 +4,6 @@
# AMD Power Management Controller Driver
#

amd-pmc-objs := pmc.o pmc-quirks.o mp1_stb.o
obj-$(CONFIG_AMD_PMC)			+= amd-pmc.o
amd-pmc-y				:= pmc.o pmc-quirks.o mp1_stb.o
amd-pmc-$(CONFIG_AMD_MP2_STB)		+= mp2_stb.o
+4 −4
Original line number Diff line number Diff line
@@ -5,6 +5,6 @@
#

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