Skip to content

Commit b7df4cc

Browse files
committed
ALSA: misc: 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-10-tiwai@suse.de
1 parent c02ce17 commit b7df4cc

17 files changed

Lines changed: 28 additions & 28 deletions

File tree

sound/arm/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
#
55

66
obj-$(CONFIG_SND_ARMAACI) += snd-aaci.o
7-
snd-aaci-objs := aaci.o
7+
snd-aaci-y := aaci.o
88

99
obj-$(CONFIG_SND_PXA2XX_LIB) += snd-pxa2xx-lib.o
1010
snd-pxa2xx-lib-y := pxa2xx-pcm-lib.o
1111
snd-pxa2xx-lib-$(CONFIG_SND_PXA2XX_LIB_AC97) += pxa2xx-ac97-lib.o
1212

1313
obj-$(CONFIG_SND_PXA2XX_AC97) += snd-pxa2xx-ac97.o
14-
snd-pxa2xx-ac97-objs := pxa2xx-ac97.o
14+
snd-pxa2xx-ac97-y := pxa2xx-ac97.o

sound/atmel/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-atmel-ac97c-objs := ac97c.o
2+
snd-atmel-ac97c-y := ac97c.o
33

44
obj-$(CONFIG_SND_ATMEL_AC97C) += snd-atmel-ac97c.o

sound/i2c/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
# Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
55
#
66

7-
snd-i2c-objs := i2c.o
8-
snd-cs8427-objs := cs8427.o
9-
snd-tea6330t-objs := tea6330t.o
7+
snd-i2c-y := i2c.o
8+
snd-cs8427-y := cs8427.o
9+
snd-tea6330t-y := tea6330t.o
1010

1111
obj-$(CONFIG_SND) += other/
1212

sound/i2c/other/Makefile

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@
44
# Copyright (c) 2003 by Jaroslav Kysela <perex@perex.cz>
55
#
66

7-
snd-ak4114-objs := ak4114.o
8-
snd-ak4117-objs := ak4117.o
9-
snd-ak4113-objs := ak4113.o
10-
snd-ak4xxx-adda-objs := ak4xxx-adda.o
11-
snd-pt2258-objs := pt2258.o
7+
snd-ak4114-y := ak4114.o
8+
snd-ak4117-y := ak4117.o
9+
snd-ak4113-y := ak4113.o
10+
snd-ak4xxx-adda-y := ak4xxx-adda.o
11+
snd-pt2258-y := pt2258.o
1212

1313
# Module Dependency
1414
obj-$(CONFIG_SND_PDAUDIOCF) += snd-ak4117.o

sound/mips/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Makefile for ALSA
44
#
55

6-
snd-sgi-o2-objs := sgio2audio.o ad1843.o
7-
snd-sgi-hal2-objs := hal2.o
6+
snd-sgi-o2-y := sgio2audio.o ad1843.o
7+
snd-sgi-hal2-y := hal2.o
88

99
# Toplevel Module Dependency
1010
obj-$(CONFIG_SND_SGI_O2) += snd-sgi-o2.o

sound/parisc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Makefile for ALSA
44
#
55

6-
snd-harmony-objs := harmony.o
6+
snd-harmony-y := harmony.o
77

88
# Toplevel Module Dependency
99
obj-$(CONFIG_SND_HARMONY) += snd-harmony.o

sound/pcmcia/pdaudiocf/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# Copyright (c) 2004 by Jaroslav Kysela <perex@perex.cz>
55
#
66

7-
snd-pdaudiocf-objs := pdaudiocf.o pdaudiocf_core.o pdaudiocf_irq.o pdaudiocf_pcm.o
7+
snd-pdaudiocf-y := pdaudiocf.o pdaudiocf_core.o pdaudiocf_irq.o pdaudiocf_pcm.o
88

99
obj-$(CONFIG_SND_PDAUDIOCF) += snd-pdaudiocf.o

sound/pcmcia/vx/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
55
#
66

7-
snd-vxpocket-objs := vxpocket.o vxp_ops.o vxp_mixer.o
7+
snd-vxpocket-y := vxpocket.o vxp_ops.o vxp_mixer.o
88

99
obj-$(CONFIG_SND_VXPOCKET) += snd-vxpocket.o

sound/ppc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Copyright (c) 2001 by Jaroslav Kysela <perex@perex.cz>
55
#
66

7-
snd-powermac-objs := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
7+
snd-powermac-y := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o
88

99
# Toplevel Module Dependency
1010
obj-$(CONFIG_SND_POWERMAC) += snd-powermac.o

sound/sh/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
# Makefile for ALSA
44
#
55

6-
snd-aica-objs := aica.o
7-
snd-sh_dac_audio-objs := sh_dac_audio.o
6+
snd-aica-y := aica.o
7+
snd-sh_dac_audio-y := sh_dac_audio.o
88

99
# Toplevel Module Dependency
1010
obj-$(CONFIG_SND_AICA) += snd-aica.o

0 commit comments

Comments
 (0)