Skip to content

Commit fd25e1c

Browse files
tiwaibroonie
authored andcommitted
ASoC: core: 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> Link: https://lore.kernel.org/r/20240507155540.24815-2-tiwai@suse.de Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 8051360 commit fd25e1c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

sound/soc/Makefile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# SPDX-License-Identifier: GPL-2.0
2-
snd-soc-core-objs := soc-core.o soc-dapm.o soc-jack.o soc-utils.o soc-dai.o soc-component.o
3-
snd-soc-core-objs += soc-pcm.o soc-devres.o soc-ops.o soc-link.o soc-card.o
2+
snd-soc-core-y := soc-core.o soc-dapm.o soc-jack.o soc-utils.o soc-dai.o soc-component.o
3+
snd-soc-core-y += soc-pcm.o soc-devres.o soc-ops.o soc-link.o soc-card.o
44
snd-soc-core-$(CONFIG_SND_SOC_COMPRESS) += soc-compress.o
55

66
ifneq ($(CONFIG_SND_SOC_TOPOLOGY),)
7-
snd-soc-core-objs += soc-topology.o
7+
snd-soc-core-y += soc-topology.o
88
endif
99

1010
ifneq ($(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST),)
11-
# snd-soc-test-objs := soc-topology-test.o
11+
# snd-soc-test-y := soc-topology-test.o
1212
obj-$(CONFIG_SND_SOC_TOPOLOGY_KUNIT_TEST) += soc-topology-test.o
1313
endif
1414

@@ -17,20 +17,20 @@ obj-$(CONFIG_SND_SOC_CARD_KUNIT_TEST) += soc-card-test.o
1717
endif
1818

1919
ifneq ($(CONFIG_SND_SOC_UTILS_KUNIT_TEST),)
20-
# snd-soc-test-objs := soc-utils-test.o
20+
# snd-soc-test-y := soc-utils-test.o
2121
obj-$(CONFIG_SND_SOC_UTILS_KUNIT_TEST) += soc-utils-test.o
2222
endif
2323

2424
ifneq ($(CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM),)
25-
snd-soc-core-objs += soc-generic-dmaengine-pcm.o
25+
snd-soc-core-y += soc-generic-dmaengine-pcm.o
2626
endif
2727

2828
ifneq ($(CONFIG_SND_SOC_AC97_BUS),)
29-
snd-soc-core-objs += soc-ac97.o
29+
snd-soc-core-y += soc-ac97.o
3030
endif
3131

3232
ifneq ($(CONFIG_SND_SOC_ACPI),)
33-
snd-soc-acpi-objs := soc-acpi.o
33+
snd-soc-acpi-y := soc-acpi.o
3434
endif
3535

3636
obj-$(CONFIG_SND_SOC_ACPI) += snd-soc-acpi.o

0 commit comments

Comments
 (0)