Skip to content

Commit b266939

Browse files
committed
ALSA: hda: Use *-y instead of *-objs in Makefile
*-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: Takashi Iwai <tiwai@suse.de> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Jaroslav Kysela <perex@perex.cz> Link: https://lore.kernel.org/r/20240507135513.14919-4-tiwai@suse.de
1 parent 1f75c49 commit b266939

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

sound/hda/Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
2+
snd-hda-core-y := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \
33
hdac_regmap.o hdac_controller.o hdac_stream.o array.o hdmi_chmap.o
44

5-
snd-hda-core-objs += trace.o
5+
snd-hda-core-y += trace.o
66
CFLAGS_trace.o := -I$(src)
77

88
# for sync with i915 gfx driver
@@ -14,9 +14,9 @@ obj-$(CONFIG_SND_HDA_CORE) += snd-hda-core.o
1414
#extended hda
1515
obj-$(CONFIG_SND_HDA_EXT_CORE) += ext/
1616

17-
snd-intel-dspcfg-objs := intel-dsp-config.o
17+
snd-intel-dspcfg-y := intel-dsp-config.o
1818
snd-intel-dspcfg-$(CONFIG_SND_INTEL_NHLT) += intel-nhlt.o
1919
obj-$(CONFIG_SND_INTEL_DSP_CONFIG) += snd-intel-dspcfg.o
2020

21-
snd-intel-sdw-acpi-objs := intel-sdw-acpi.o
21+
snd-intel-sdw-acpi-y := intel-sdw-acpi.o
2222
obj-$(CONFIG_SND_INTEL_SOUNDWIRE_ACPI) += snd-intel-sdw-acpi.o

sound/hda/ext/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
snd-hda-ext-core-objs := hdac_ext_bus.o hdac_ext_controller.o hdac_ext_stream.o
2+
snd-hda-ext-core-y := hdac_ext_bus.o hdac_ext_controller.o hdac_ext_stream.o
33

44
obj-$(CONFIG_SND_HDA_EXT_CORE) += snd-hda-ext-core.o

0 commit comments

Comments
 (0)