ALSA: Use *-y instead of *-objs in Makefile
Subsystems (8)
cover ALSA: Use *-y instead of *-objs in Makefile
Hi,
this is a series of trivial cleanup patches for Makefile in sound/* (modulo ASoC -- which will be submitted later in a separate series).
As Andy suggested in a patch review, *-objs suffix in Makefile is basically a mis-use nowadays for kernel driver modules. They should be replaced with *-y suffix instead. This is a result of systematic conversions, separated per directory.
Takashi
===
Takashi Iwai (9):
ALSA: core: Use *-y instead of *-objs in Makefile
ALSA: pci: Use *-y instead of *-objs in Makefile
ALSA: hda: Use *-y instead of *-objs in Makefile
ALSA: isa: Use *-y instead of *-objs in Makefile
ALSA: usb: Use *-y instead of *-objs in Makefile
ALSA: drivers: Use *-y instead of *-objs in Makefile
ALSA: firewire: Use *-y instead of *-objs in Makefile
ALSA: aoa: Use *-y instead of *-objs in Makefile
ALSA: misc: Use *-y instead of *-objs in Makefile
sound/Makefile | 2 +- sound/aoa/codecs/Makefile | 6 ++-- sound/aoa/core/Makefile | 2 +- sound/aoa/fabrics/Makefile | 2 +- sound/aoa/soundbus/Makefile | 2 +- sound/aoa/soundbus/i2sbus/Makefile | 2 +- sound/arm/Makefile | 4 +-- sound/atmel/Makefile | 2 +- sound/core/Makefile | 18 +++++------ sound/core/oss/Makefile | 2 +- sound/core/seq/Makefile | 14 ++++---- sound/core/seq/oss/Makefile | 2 +- sound/drivers/Makefile | 18 +++++------ sound/drivers/mpu401/Makefile | 4 +-- sound/drivers/opl3/Makefile | 2 +- sound/drivers/opl4/Makefile | 4 +-- sound/drivers/pcsp/Makefile | 2 +- sound/drivers/vx/Makefile | 2 +- sound/firewire/Makefile | 4 +-- sound/firewire/bebob/Makefile | 2 +- sound/firewire/dice/Makefile | 2 +- sound/firewire/digi00x/Makefile | 2 +- sound/firewire/fireface/Makefile | 2 +- sound/firewire/fireworks/Makefile | 2 +- sound/firewire/motu/Makefile | 2 +- sound/firewire/oxfw/Makefile | 2 +- sound/firewire/tascam/Makefile | 2 +- sound/hda/Makefile | 8 ++--- sound/hda/ext/Makefile | 2 +- sound/i2c/Makefile | 6 ++-- sound/i2c/other/Makefile | 10 +++--- sound/isa/Makefile | 18 +++++------ sound/isa/ad1816a/Makefile | 2 +- sound/isa/ad1848/Makefile | 2 +- sound/isa/cs423x/Makefile | 4 +-- sound/isa/es1688/Makefile | 4 +-- sound/isa/galaxy/Makefile | 4 +-- sound/isa/gus/Makefile | 12 +++---- sound/isa/msnd/Makefile | 6 ++-- sound/isa/opti9xx/Makefile | 8 ++--- sound/isa/sb/Makefile | 18 +++++------ sound/isa/wavefront/Makefile | 2 +- sound/isa/wss/Makefile | 2 +- sound/mips/Makefile | 4 +-- sound/parisc/Makefile | 2 +- sound/pci/Makefile | 48 +++++++++++++-------------- sound/pci/ali5451/Makefile | 2 +- sound/pci/asihpi/Makefile | 2 +- sound/pci/au88x0/Makefile | 6 ++-- sound/pci/aw2/Makefile | 2 +- sound/pci/ca0106/Makefile | 2 +- sound/pci/ctxfi/Makefile | 2 +- sound/pci/echoaudio/Makefile | 28 ++++++++-------- sound/pci/emu10k1/Makefile | 6 ++-- sound/pci/hda/Makefile | 52 +++++++++++++++--------------- sound/pci/ice1712/Makefile | 6 ++-- sound/pci/korg1212/Makefile | 2 +- sound/pci/lx6464es/Makefile | 2 +- sound/pci/mixart/Makefile | 2 +- sound/pci/nm256/Makefile | 2 +- sound/pci/oxygen/Makefile | 8 ++--- sound/pci/pcxhr/Makefile | 2 +- sound/pci/riptide/Makefile | 2 +- sound/pci/rme9652/Makefile | 6 ++-- sound/pci/trident/Makefile | 2 +- sound/pci/vx222/Makefile | 2 +- sound/pci/ymfpci/Makefile | 2 +- sound/pcmcia/pdaudiocf/Makefile | 2 +- sound/pcmcia/vx/Makefile | 2 +- sound/ppc/Makefile | 2 +- sound/sh/Makefile | 4 +-- sound/sparc/Makefile | 6 ++-- sound/spi/Makefile | 2 +- sound/synth/Makefile | 2 +- sound/synth/emux/Makefile | 2 +- sound/usb/6fire/Makefile | 2 +- sound/usb/Makefile | 4 +-- sound/usb/hiface/Makefile | 2 +- sound/usb/misc/Makefile | 2 +- sound/usb/usx2y/Makefile | 4 +-- sound/virtio/Makefile | 2 +- sound/x86/Makefile | 2 +- sound/xen/Makefile | 2 +- 83 files changed, 227 insertions(+), 227 deletions(-)
Signature · 1 line
2.43.0
PATCH 1/9 ALSA: 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.
--- sound/Makefile | 2 +- sound/core/Makefile | 18 +++++++++--------- sound/core/oss/Makefile | 2 +- sound/core/seq/Makefile | 14 +++++++------- sound/core/seq/oss/Makefile | 2 +- 5 files changed, 19 insertions(+), 19 deletions(-)
sound/Makefile +1 -1
@@ -17,4 +17,4 @@ ifeq ($(CONFIG_SND),y) obj-y += last.o endif -soundcore-objs := sound_core.o +soundcore-y := sound_core.o
sound/core/Makefile +9 -9
@@ -24,18 +24,18 @@ snd-pcm-$(CONFIG_SND_PCM_IEC958) += pcm_iec958.o CFLAGS_pcm_lib.o := -I$(src) CFLAGS_pcm_native.o := -I$(src) -snd-pcm-dmaengine-objs := pcm_dmaengine.o +snd-pcm-dmaengine-y := pcm_dmaengine.o -snd-ctl-led-objs := control_led.o -snd-rawmidi-objs := rawmidi.o -snd-ump-objs := ump.o +snd-ctl-led-y := control_led.o +snd-rawmidi-y := rawmidi.o +snd-ump-y := ump.o snd-ump-$(CONFIG_SND_UMP_LEGACY_RAWMIDI) += ump_convert.o -snd-timer-objs := timer.o -snd-hrtimer-objs := hrtimer.o -snd-hwdep-objs := hwdep.o -snd-seq-device-objs := seq_device.o +snd-timer-y := timer.o +snd-hrtimer-y := hrtimer.o +snd-hwdep-y := hwdep.o +snd-seq-device-y := seq_device.o -snd-compress-objs := compress_offload.o +snd-compress-y := compress_offload.o obj-$(CONFIG_SND) += snd.o obj-$(CONFIG_SND_CTL_LED) += snd-ctl-led.o
sound/core/oss/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 1999 by Jaroslav Kysela <[email protected]> # -snd-mixer-oss-objs := mixer_oss.o +snd-mixer-oss-y := mixer_oss.o snd-pcm-oss-y := pcm_oss.o snd-pcm-oss-$(CONFIG_SND_PCM_OSS_PLUGINS) += pcm_plugin.o \
sound/core/seq/Makefile +7 -7
@@ -4,17 +4,17 @@ # Copyright (c) 1999 by Jaroslav Kysela <[email protected]> # -snd-seq-objs := seq.o seq_lock.o seq_clientmgr.o seq_memory.o seq_queue.o \ +snd-seq-y := seq.o seq_lock.o seq_clientmgr.o seq_memory.o seq_queue.o \ seq_fifo.o seq_prioq.o seq_timer.o \ seq_system.o seq_ports.o snd-seq-$(CONFIG_SND_PROC_FS) += seq_info.o snd-seq-$(CONFIG_SND_SEQ_UMP) += seq_ump_convert.o -snd-seq-midi-objs := seq_midi.o -snd-seq-midi-emul-objs := seq_midi_emul.o -snd-seq-midi-event-objs := seq_midi_event.o -snd-seq-dummy-objs := seq_dummy.o -snd-seq-virmidi-objs := seq_virmidi.o -snd-seq-ump-client-objs := seq_ump_client.o +snd-seq-midi-y := seq_midi.o +snd-seq-midi-emul-y := seq_midi_emul.o +snd-seq-midi-event-y := seq_midi_event.o +snd-seq-dummy-y := seq_dummy.o +snd-seq-virmidi-y := seq_virmidi.o +snd-seq-ump-client-y := seq_ump_client.o obj-$(CONFIG_SND_SEQUENCER) += snd-seq.o obj-$(CONFIG_SND_SEQUENCER_OSS) += oss/
sound/core/seq/oss/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 1999 by Jaroslav Kysela <[email protected]> # -snd-seq-oss-objs := seq_oss.o seq_oss_init.o seq_oss_timer.o seq_oss_ioctl.o \ +snd-seq-oss-y := seq_oss.o seq_oss_init.o seq_oss_timer.o seq_oss_ioctl.o \ seq_oss_event.o seq_oss_rw.o seq_oss_synth.o \ seq_oss_midi.o seq_oss_readq.o seq_oss_writeq.o
Signature · 1 line
2.43.0
PATCH 2/9 ALSA: pci: Use *-y instead of *-objs in Makefile
In reply to Takashi Iwai*-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.
--- sound/pci/Makefile | 48 ++++++++++++++++----------------- sound/pci/ali5451/Makefile | 2 +- sound/pci/asihpi/Makefile | 2 +- sound/pci/au88x0/Makefile | 6 ++--- sound/pci/aw2/Makefile | 2 +- sound/pci/ca0106/Makefile | 2 +- sound/pci/ctxfi/Makefile | 2 +- sound/pci/echoaudio/Makefile | 28 +++++++++---------- sound/pci/emu10k1/Makefile | 6 ++--- sound/pci/hda/Makefile | 52 ++++++++++++++++++------------------ sound/pci/ice1712/Makefile | 6 ++--- sound/pci/korg1212/Makefile | 2 +- sound/pci/lx6464es/Makefile | 2 +- sound/pci/mixart/Makefile | 2 +- sound/pci/nm256/Makefile | 2 +- sound/pci/oxygen/Makefile | 8 +++--- sound/pci/pcxhr/Makefile | 2 +- sound/pci/riptide/Makefile | 2 +- sound/pci/rme9652/Makefile | 6 ++--- sound/pci/trident/Makefile | 2 +- sound/pci/vx222/Makefile | 2 +- sound/pci/ymfpci/Makefile | 2 +- 22 files changed, 94 insertions(+), 94 deletions(-)
sound/pci/Makefile +24 -24
@@ -4,30 +4,30 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-ad1889-objs := ad1889.o -snd-als300-objs := als300.o -snd-als4000-objs := als4000.o -snd-atiixp-objs := atiixp.o -snd-atiixp-modem-objs := atiixp_modem.o -snd-azt3328-objs := azt3328.o -snd-bt87x-objs := bt87x.o -snd-cmipci-objs := cmipci.o -snd-cs4281-objs := cs4281.o -snd-cs5530-objs := cs5530.o -snd-ens1370-objs := ens1370.o ak4531_codec.o -snd-ens1371-objs := ens1371.o -snd-es1938-objs := es1938.o -snd-es1968-objs := es1968.o -snd-fm801-objs := fm801.o -snd-intel8x0-objs := intel8x0.o -snd-intel8x0m-objs := intel8x0m.o -snd-maestro3-objs := maestro3.o -snd-rme32-objs := rme32.o -snd-rme96-objs := rme96.o -snd-sis7019-objs := sis7019.o -snd-sonicvibes-objs := sonicvibes.o -snd-via82xx-objs := via82xx.o -snd-via82xx-modem-objs := via82xx_modem.o +snd-ad1889-y := ad1889.o +snd-als300-y := als300.o +snd-als4000-y := als4000.o +snd-atiixp-y := atiixp.o +snd-atiixp-modem-y := atiixp_modem.o +snd-azt3328-y := azt3328.o +snd-bt87x-y := bt87x.o +snd-cmipci-y := cmipci.o +snd-cs4281-y := cs4281.o +snd-cs5530-y := cs5530.o +snd-ens1370-y := ens1370.o ak4531_codec.o +snd-ens1371-y := ens1371.o +snd-es1938-y := es1938.o +snd-es1968-y := es1968.o +snd-fm801-y := fm801.o +snd-intel8x0-y := intel8x0.o +snd-intel8x0m-y := intel8x0m.o +snd-maestro3-y := maestro3.o +snd-rme32-y := rme32.o +snd-rme96-y := rme96.o +snd-sis7019-y := sis7019.o +snd-sonicvibes-y := sonicvibes.o +snd-via82xx-y := via82xx.o +snd-via82xx-modem-y := via82xx_modem.o # Toplevel Module Dependency obj-$(CONFIG_SND_AD1889) += snd-ad1889.o
sound/pci/ali5451/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-ali5451-objs := ali5451.o +snd-ali5451-y := ali5451.o # Toplevel Module Dependency obj-$(CONFIG_SND_ALI5451) += snd-ali5451.o
sound/pci/asihpi/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-asihpi-objs := asihpi.o hpioctl.o hpimsginit.o\ +snd-asihpi-y := asihpi.o hpioctl.o hpimsginit.o\ hpicmn.o hpifunc.o hpidebug.o hpidspcd.o\ hpios.o hpi6000.o hpi6205.o hpimsgx.o
sound/pci/au88x0/Makefile +3 -3
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 -snd-au8810-objs := au8810.o -snd-au8820-objs := au8820.o -snd-au8830-objs := au8830.o +snd-au8810-y := au8810.o +snd-au8820-y := au8820.o +snd-au8830-y := au8830.o obj-$(CONFIG_SND_AU8810) += snd-au8810.o obj-$(CONFIG_SND_AU8820) += snd-au8820.o
sound/pci/aw2/Makefile +1 -1
@@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-aw2-objs := aw2-alsa.o aw2-saa7146.o +snd-aw2-y := aw2-alsa.o aw2-saa7146.o obj-$(CONFIG_SND_AW2) += snd-aw2.o
sound/pci/ca0106/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-ca0106-objs := ca0106_main.o ca0106_mixer.o ca_midi.o +snd-ca0106-y := ca0106_main.o ca0106_mixer.o ca_midi.o snd-ca0106-$(CONFIG_SND_PROC_FS) += ca0106_proc.o obj-$(CONFIG_SND_CA0106) += snd-ca0106.o
sound/pci/ctxfi/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-ctxfi-objs := xfi.o ctatc.o ctvmem.o ctpcm.o ctmixer.o ctresource.o \ +snd-ctxfi-y := xfi.o ctatc.o ctvmem.o ctpcm.o ctmixer.o ctresource.o \ ctsrc.o ctamixer.o ctdaio.o ctimap.o cthardware.o cttimer.o \ cthw20k2.o cthw20k1.o
sound/pci/echoaudio/Makefile +14 -14
@@ -4,20 +4,20 @@ # Copyright (c) 2003 by Giuliano Pochini <[email protected]> # -snd-darla20-objs := darla20.o -snd-gina20-objs := gina20.o -snd-layla20-objs := layla20.o -snd-darla24-objs := darla24.o -snd-gina24-objs := gina24.o -snd-layla24-objs := layla24.o -snd-mona-objs := mona.o -snd-mia-objs := mia.o -snd-echo3g-objs := echo3g.o -snd-indigo-objs := indigo.o -snd-indigoio-objs := indigoio.o -snd-indigodj-objs := indigodj.o -snd-indigoiox-objs := indigoiox.o -snd-indigodjx-objs := indigodjx.o +snd-darla20-y := darla20.o +snd-gina20-y := gina20.o +snd-layla20-y := layla20.o +snd-darla24-y := darla24.o +snd-gina24-y := gina24.o +snd-layla24-y := layla24.o +snd-mona-y := mona.o +snd-mia-y := mia.o +snd-echo3g-y := echo3g.o +snd-indigo-y := indigo.o +snd-indigoio-y := indigoio.o +snd-indigodj-y := indigodj.o +snd-indigoiox-y := indigoiox.o +snd-indigodjx-y := indigodjx.o obj-$(CONFIG_SND_DARLA20) += snd-darla20.o obj-$(CONFIG_SND_GINA20) += snd-gina20.o
sound/pci/emu10k1/Makefile +3 -3
@@ -4,12 +4,12 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-emu10k1-objs := emu10k1.o emu10k1_main.o \ +snd-emu10k1-y := emu10k1.o emu10k1_main.o \ irq.o memory.o voice.o emumpu401.o emupcm.o io.o \ emumixer.o emufx.o timer.o p16v.o snd-emu10k1-$(CONFIG_SND_PROC_FS) += emuproc.o -snd-emu10k1-synth-objs := emu10k1_synth.o emu10k1_callback.o emu10k1_patch.o -snd-emu10k1x-objs := emu10k1x.o +snd-emu10k1-synth-y := emu10k1_synth.o emu10k1_callback.o emu10k1_patch.o +snd-emu10k1x-y := emu10k1x.o # Toplevel Module Dependency obj-$(CONFIG_SND_EMU10K1) += snd-emu10k1.o
sound/pci/hda/Makefile +26 -26
64 lines not on this page · raw message
sound/pci/ice1712/Makefile +3 -3
@@ -4,9 +4,9 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-ice17xx-ak4xxx-objs := ak4xxx.o -snd-ice1712-objs := ice1712.o delta.o hoontech.o ews.o -snd-ice1724-objs := ice1724.o amp.o revo.o aureon.o vt1720_mobo.o pontis.o prodigy192.o prodigy_hifi.o juli.o phase.o wtm.o se.o maya44.o quartet.o psc724.o wm8766.o wm8776.o +snd-ice17xx-ak4xxx-y := ak4xxx.o +snd-ice1712-y := ice1712.o delta.o hoontech.o ews.o +snd-ice1724-y := ice1724.o amp.o revo.o aureon.o vt1720_mobo.o pontis.o prodigy192.o prodigy_hifi.o juli.o phase.o wtm.o se.o maya44.o quartet.o psc724.o wm8766.o wm8776.o # Toplevel Module Dependency obj-$(CONFIG_SND_ICE1712) += snd-ice1712.o snd-ice17xx-ak4xxx.o
sound/pci/korg1212/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-korg1212-objs := korg1212.o +snd-korg1212-y := korg1212.o # Toplevel Module Dependency obj-$(CONFIG_SND_KORG1212) += snd-korg1212.o
sound/pci/lx6464es/Makefile +1 -1
@@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-lx6464es-objs := lx6464es.o lx_core.o +snd-lx6464es-y := lx6464es.o lx_core.o obj-$(CONFIG_SND_LX6464ES) += snd-lx6464es.o
sound/pci/mixart/Makefile +1 -1
@@ -4,6 +4,6 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-mixart-objs := mixart.o mixart_core.o mixart_hwdep.o mixart_mixer.o +snd-mixart-y := mixart.o mixart_core.o mixart_hwdep.o mixart_mixer.o obj-$(CONFIG_SND_MIXART) += snd-mixart.o
sound/pci/nm256/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-nm256-objs := nm256.o +snd-nm256-y := nm256.o # Toplevel Module Dependency obj-$(CONFIG_SND_NM256) += snd-nm256.o
sound/pci/oxygen/Makefile +4 -4
@@ -1,8 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 -snd-oxygen-lib-objs := oxygen_io.o oxygen_lib.o oxygen_mixer.o oxygen_pcm.o -snd-oxygen-objs := oxygen.o xonar_dg_mixer.o xonar_dg.o -snd-se6x-objs := se6x.o -snd-virtuoso-objs := virtuoso.o xonar_lib.o \ +snd-oxygen-lib-y := oxygen_io.o oxygen_lib.o oxygen_mixer.o oxygen_pcm.o +snd-oxygen-y := oxygen.o xonar_dg_mixer.o xonar_dg.o +snd-se6x-y := se6x.o +snd-virtuoso-y := virtuoso.o xonar_lib.o \ xonar_pcm179x.o xonar_cs43xx.o xonar_wm87x6.o xonar_hdmi.o obj-$(CONFIG_SND_OXYGEN_LIB) += snd-oxygen-lib.o
sound/pci/pcxhr/Makefile +1 -1
@@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-pcxhr-objs := pcxhr.o pcxhr_hwdep.o pcxhr_mixer.o pcxhr_core.o pcxhr_mix22.o +snd-pcxhr-y := pcxhr.o pcxhr_hwdep.o pcxhr_mixer.o pcxhr_core.o pcxhr_mix22.o obj-$(CONFIG_SND_PCXHR) += snd-pcxhr.o
sound/pci/riptide/Makefile +1 -1
@@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-riptide-objs := riptide.o +snd-riptide-y := riptide.o obj-$(CONFIG_SND_RIPTIDE) += snd-riptide.o
sound/pci/rme9652/Makefile +3 -3
@@ -4,9 +4,9 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-rme9652-objs := rme9652.o -snd-hdsp-objs := hdsp.o -snd-hdspm-objs := hdspm.o +snd-rme9652-y := rme9652.o +snd-hdsp-y := hdsp.o +snd-hdspm-y := hdspm.o # Toplevel Module Dependency obj-$(CONFIG_SND_RME9652) += snd-rme9652.o
sound/pci/trident/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-trident-objs := trident.o trident_main.o trident_memory.o +snd-trident-y := trident.o trident_main.o trident_memory.o # Toplevel Module Dependency obj-$(CONFIG_SND_TRIDENT) += snd-trident.o
sound/pci/vx222/Makefile +1 -1
@@ -4,6 +4,6 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-vx222-objs := vx222.o vx222_ops.o +snd-vx222-y := vx222.o vx222_ops.o obj-$(CONFIG_SND_VX222) += snd-vx222.o
sound/pci/ymfpci/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-ymfpci-objs := ymfpci.o ymfpci_main.o +snd-ymfpci-y := ymfpci.o ymfpci_main.o # Toplevel Module Dependency obj-$(CONFIG_SND_YMFPCI) += snd-ymfpci.o
Signature · 1 line
2.43.0
PATCH 3/9 ALSA: hda: Use *-y instead of *-objs in Makefile
In reply to Takashi Iwai*-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.
--- sound/hda/Makefile | 8 ++++---- sound/hda/ext/Makefile | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-)
sound/hda/Makefile +4 -4
@@ -1,8 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 -snd-hda-core-objs := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \ +snd-hda-core-y := hda_bus_type.o hdac_bus.o hdac_device.o hdac_sysfs.o \ hdac_regmap.o hdac_controller.o hdac_stream.o array.o hdmi_chmap.o -snd-hda-core-objs += trace.o +snd-hda-core-y += trace.o CFLAGS_trace.o := -I$(src) # for sync with i915 gfx driver
@@ -14,9 +14,9 @@ obj-$(CONFIG_SND_HDA_CORE) += snd-hda-core.o #extended hda obj-$(CONFIG_SND_HDA_EXT_CORE) += ext/ -snd-intel-dspcfg-objs := intel-dsp-config.o +snd-intel-dspcfg-y := intel-dsp-config.o snd-intel-dspcfg-$(CONFIG_SND_INTEL_NHLT) += intel-nhlt.o obj-$(CONFIG_SND_INTEL_DSP_CONFIG) += snd-intel-dspcfg.o -snd-intel-sdw-acpi-objs := intel-sdw-acpi.o +snd-intel-sdw-acpi-y := intel-sdw-acpi.o obj-$(CONFIG_SND_INTEL_SOUNDWIRE_ACPI) += snd-intel-sdw-acpi.o
sound/hda/ext/Makefile +1 -1
@@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-hda-ext-core-objs := hdac_ext_bus.o hdac_ext_controller.o hdac_ext_stream.o +snd-hda-ext-core-y := hdac_ext_bus.o hdac_ext_controller.o hdac_ext_stream.o obj-$(CONFIG_SND_HDA_EXT_CORE) += snd-hda-ext-core.o
Signature · 1 line
2.43.0
PATCH 4/9 ALSA: isa: Use *-y instead of *-objs in Makefile
In reply to Takashi Iwai*-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.
--- sound/isa/Makefile | 18 +++++++++--------- sound/isa/ad1816a/Makefile | 2 +- sound/isa/ad1848/Makefile | 2 +- sound/isa/cs423x/Makefile | 4 ++-- sound/isa/es1688/Makefile | 4 ++-- sound/isa/galaxy/Makefile | 4 ++-- sound/isa/gus/Makefile | 12 ++++++------ sound/isa/msnd/Makefile | 6 +++--- sound/isa/opti9xx/Makefile | 8 ++++---- sound/isa/sb/Makefile | 18 +++++++++--------- sound/isa/wavefront/Makefile | 2 +- sound/isa/wss/Makefile | 2 +- 12 files changed, 41 insertions(+), 41 deletions(-)
sound/isa/Makefile +9 -9
@@ -4,15 +4,15 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-adlib-objs := adlib.o -snd-als100-objs := als100.o -snd-azt2320-objs := azt2320.o -snd-cmi8328-objs := cmi8328.o -snd-cmi8330-objs := cmi8330.o -snd-es18xx-objs := es18xx.o -snd-opl3sa2-objs := opl3sa2.o -snd-sc6000-objs := sc6000.o -snd-sscape-objs := sscape.o +snd-adlib-y := adlib.o +snd-als100-y := als100.o +snd-azt2320-y := azt2320.o +snd-cmi8328-y := cmi8328.o +snd-cmi8330-y := cmi8330.o +snd-es18xx-y := es18xx.o +snd-opl3sa2-y := opl3sa2.o +snd-sc6000-y := sc6000.o +snd-sscape-y := sscape.o # Toplevel Module Dependency obj-$(CONFIG_SND_ADLIB) += snd-adlib.o
sound/isa/ad1816a/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-ad1816a-objs := ad1816a.o ad1816a_lib.o +snd-ad1816a-y := ad1816a.o ad1816a_lib.o # Toplevel Module Dependency obj-$(CONFIG_SND_AD1816A) += snd-ad1816a.o
sound/isa/ad1848/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-ad1848-objs := ad1848.o +snd-ad1848-y := ad1848.o # Toplevel Module Dependency obj-$(CONFIG_SND_AD1848) += snd-ad1848.o
sound/isa/cs423x/Makefile +2 -2
@@ -4,8 +4,8 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-cs4231-objs := cs4231.o -snd-cs4236-objs := cs4236.o cs4236_lib.o +snd-cs4231-y := cs4231.o +snd-cs4236-y := cs4236.o cs4236_lib.o # Toplevel Module Dependency obj-$(CONFIG_SND_CS4231) += snd-cs4231.o
sound/isa/es1688/Makefile +2 -2
@@ -4,8 +4,8 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-es1688-lib-objs := es1688_lib.o -snd-es1688-objs := es1688.o +snd-es1688-lib-y := es1688_lib.o +snd-es1688-y := es1688.o # Toplevel Module Dependency obj-$(CONFIG_SND_ES1688) += snd-es1688.o snd-es1688-lib.o
sound/isa/galaxy/Makefile +2 -2
@@ -4,8 +4,8 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-azt1605-objs := azt1605.o -snd-azt2316-objs := azt2316.o +snd-azt1605-y := azt1605.o +snd-azt2316-y := azt2316.o obj-$(CONFIG_SND_AZT1605) += snd-azt1605.o obj-$(CONFIG_SND_AZT2316) += snd-azt2316.o
sound/isa/gus/Makefile +6 -6
@@ -4,18 +4,18 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-gus-lib-objs := gus_main.o \ +snd-gus-lib-y := gus_main.o \ gus_io.o gus_irq.o gus_timer.o \ gus_mem.o gus_mem_proc.o gus_dram.o gus_dma.o gus_volume.o \ gus_pcm.o gus_mixer.o \ gus_uart.o \ gus_reset.o -snd-gusclassic-objs := gusclassic.o -snd-gusextreme-objs := gusextreme.o -snd-gusmax-objs := gusmax.o -snd-interwave-objs := interwave.o -snd-interwave-stb-objs := interwave-stb.o +snd-gusclassic-y := gusclassic.o +snd-gusextreme-y := gusextreme.o +snd-gusmax-y := gusmax.o +snd-interwave-y := interwave.o +snd-interwave-stb-y := interwave-stb.o # Toplevel Module Dependency obj-$(CONFIG_SND_GUSCLASSIC) += snd-gusclassic.o snd-gus-lib.o
sound/isa/msnd/Makefile +3 -3
@@ -1,8 +1,8 @@ # SPDX-License-Identifier: GPL-2.0 -snd-msnd-lib-objs := msnd.o msnd_midi.o msnd_pinnacle_mixer.o -snd-msnd-pinnacle-objs := msnd_pinnacle.o -snd-msnd-classic-objs := msnd_classic.o +snd-msnd-lib-y := msnd.o msnd_midi.o msnd_pinnacle_mixer.o +snd-msnd-pinnacle-y := msnd_pinnacle.o +snd-msnd-classic-y := msnd_classic.o # Toplevel Module Dependency obj-$(CONFIG_SND_MSND_PINNACLE) += snd-msnd-pinnacle.o snd-msnd-lib.o
sound/isa/opti9xx/Makefile +4 -4
@@ -4,10 +4,10 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-opti92x-ad1848-objs := opti92x-ad1848.o -snd-opti92x-cs4231-objs := opti92x-cs4231.o -snd-opti93x-objs := opti93x.o -snd-miro-objs := miro.o +snd-opti92x-ad1848-y := opti92x-ad1848.o +snd-opti92x-cs4231-y := opti92x-cs4231.o +snd-opti93x-y := opti93x.o +snd-miro-y := miro.o # Toplevel Module Dependency obj-$(CONFIG_SND_OPTI92X_AD1848) += snd-opti92x-ad1848.o
sound/isa/sb/Makefile +9 -9
@@ -4,15 +4,15 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-sb-common-objs := sb_common.o sb_mixer.o -snd-sb8-dsp-objs := sb8_main.o sb8_midi.o -snd-sb16-dsp-objs := sb16_main.o -snd-sb16-csp-objs := sb16_csp.o -snd-sb8-objs := sb8.o -snd-sb16-objs := sb16.o -snd-sbawe-objs := sbawe.o emu8000.o -snd-emu8000-synth-objs := emu8000_synth.o emu8000_callback.o emu8000_patch.o emu8000_pcm.o -snd-jazz16-objs := jazz16.o +snd-sb-common-y := sb_common.o sb_mixer.o +snd-sb8-dsp-y := sb8_main.o sb8_midi.o +snd-sb16-dsp-y := sb16_main.o +snd-sb16-csp-y := sb16_csp.o +snd-sb8-y := sb8.o +snd-sb16-y := sb16.o +snd-sbawe-y := sbawe.o emu8000.o +snd-emu8000-synth-y := emu8000_synth.o emu8000_callback.o emu8000_patch.o emu8000_pcm.o +snd-jazz16-y := jazz16.o # Toplevel Module Dependency obj-$(CONFIG_SND_SB_COMMON) += snd-sb-common.o
sound/isa/wavefront/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-wavefront-objs := wavefront.o wavefront_fx.o wavefront_synth.o wavefront_midi.o +snd-wavefront-y := wavefront.o wavefront_fx.o wavefront_synth.o wavefront_midi.o # Toplevel Module Dependency obj-$(CONFIG_SND_WAVEFRONT) += snd-wavefront.o
sound/isa/wss/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2008 by Jaroslav Kysela <[email protected]> # -snd-wss-lib-objs := wss_lib.o +snd-wss-lib-y := wss_lib.o # Toplevel Module Dependency obj-$(CONFIG_SND_WSS_LIB) += snd-wss-lib.o
Signature · 1 line
2.43.0
PATCH 5/9 ALSA: usb: Use *-y instead of *-objs in Makefile
In reply to Takashi Iwai*-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.
--- sound/usb/6fire/Makefile | 2 +- sound/usb/Makefile | 4 ++-- sound/usb/hiface/Makefile | 2 +- sound/usb/misc/Makefile | 2 +- sound/usb/usx2y/Makefile | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-)
sound/usb/6fire/Makefile +1 -1
@@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-usb-6fire-objs += chip.o comm.o midi.o control.o firmware.o pcm.o +snd-usb-6fire-y += chip.o comm.o midi.o control.o firmware.o pcm.o obj-$(CONFIG_SND_USB_6FIRE) += snd-usb-6fire.o
sound/usb/Makefile +2 -2
@@ -3,7 +3,7 @@ # Makefile for ALSA # -snd-usb-audio-objs := card.o \ +snd-usb-audio-y := card.o \ clock.o \ endpoint.o \ format.o \
@@ -25,7 +25,7 @@ snd-usb-audio-objs := card.o \ snd-usb-audio-$(CONFIG_SND_USB_AUDIO_MIDI_V2) += midi2.o snd-usb-audio-$(CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER) += media.o -snd-usbmidi-lib-objs := midi.o +snd-usbmidi-lib-y := midi.o # Toplevel Module Dependency obj-$(CONFIG_SND_USB_AUDIO) += snd-usb-audio.o snd-usbmidi-lib.o
sound/usb/hiface/Makefile +1 -1
@@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-usb-hiface-objs := chip.o pcm.o +snd-usb-hiface-y := chip.o pcm.o obj-$(CONFIG_SND_USB_HIFACE) += snd-usb-hiface.o
sound/usb/misc/Makefile +1 -1
@@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-ua101-objs := ua101.o +snd-ua101-y := ua101.o obj-$(CONFIG_SND_USB_UA101) += snd-ua101.o
sound/usb/usx2y/Makefile +2 -2
@@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -snd-usb-usx2y-objs := usbusx2y.o usX2Yhwdep.o usx2yhwdeppcm.o -snd-usb-us122l-objs := us122l.o +snd-usb-usx2y-y := usbusx2y.o usX2Yhwdep.o usx2yhwdeppcm.o +snd-usb-us122l-y := us122l.o obj-$(CONFIG_SND_USB_USX2Y) += snd-usb-usx2y.o obj-$(CONFIG_SND_USB_US122L) += snd-usb-us122l.o
Signature · 1 line
2.43.0
PATCH 6/9 ALSA: drivers: Use *-y instead of *-objs in Makefile
In reply to Takashi Iwai*-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.
--- sound/drivers/Makefile | 18 +++++++++--------- sound/drivers/mpu401/Makefile | 4 ++-- sound/drivers/opl3/Makefile | 2 +- sound/drivers/opl4/Makefile | 4 ++-- sound/drivers/pcsp/Makefile | 2 +- sound/drivers/vx/Makefile | 2 +- 6 files changed, 16 insertions(+), 16 deletions(-)
sound/drivers/Makefile +9 -9
@@ -4,15 +4,15 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-dummy-objs := dummy.o -snd-aloop-objs := aloop.o -snd-mtpav-objs := mtpav.o -snd-mts64-objs := mts64.o -snd-pcmtest-objs := pcmtest.o -snd-portman2x4-objs := portman2x4.o -snd-serial-u16550-objs := serial-u16550.o -snd-serial-generic-objs := serial-generic.o -snd-virmidi-objs := virmidi.o +snd-dummy-y := dummy.o +snd-aloop-y := aloop.o +snd-mtpav-y := mtpav.o +snd-mts64-y := mts64.o +snd-pcmtest-y := pcmtest.o +snd-portman2x4-y := portman2x4.o +snd-serial-u16550-y := serial-u16550.o +snd-serial-generic-y := serial-generic.o +snd-virmidi-y := virmidi.o # Toplevel Module Dependency obj-$(CONFIG_SND_DUMMY) += snd-dummy.o
sound/drivers/mpu401/Makefile +2 -2
@@ -4,8 +4,8 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-mpu401-objs := mpu401.o -snd-mpu401-uart-objs := mpu401_uart.o +snd-mpu401-y := mpu401.o +snd-mpu401-uart-y := mpu401_uart.o obj-$(CONFIG_SND_MPU401_UART) += snd-mpu401-uart.o
sound/drivers/opl3/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-opl3-lib-objs := opl3_lib.o opl3_synth.o +snd-opl3-lib-y := opl3_lib.o opl3_synth.o snd-opl3-synth-y := opl3_seq.o opl3_midi.o opl3_drums.o ifneq ($(CONFIG_SND_SEQUENCER_OSS),) snd-opl3-synth-y += opl3_oss.o
sound/drivers/opl4/Makefile +2 -2
@@ -4,9 +4,9 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-opl4-lib-objs := opl4_lib.o opl4_mixer.o +snd-opl4-lib-y := opl4_lib.o opl4_mixer.o snd-opl4-lib-$(CONFIG_SND_PROC_FS) += opl4_proc.o -snd-opl4-synth-objs := opl4_seq.o opl4_synth.o yrw801.o +snd-opl4-synth-y := opl4_seq.o opl4_synth.o yrw801.o obj-$(CONFIG_SND_OPL4_LIB) += snd-opl4-lib.o obj-$(CONFIG_SND_OPL4_LIB_SEQ) += snd-opl4-synth.o
sound/drivers/pcsp/Makefile +1 -1
@@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-pcsp-objs := pcsp.o pcsp_lib.o pcsp_mixer.o pcsp_input.o +snd-pcsp-y := pcsp.o pcsp_lib.o pcsp_mixer.o pcsp_input.o obj-$(CONFIG_SND_PCSP) += snd-pcsp.o
sound/drivers/vx/Makefile +1 -1
@@ -4,6 +4,6 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-vx-lib-objs := vx_core.o vx_hwdep.o vx_pcm.o vx_mixer.o vx_cmd.o vx_uer.o +snd-vx-lib-y := vx_core.o vx_hwdep.o vx_pcm.o vx_mixer.o vx_cmd.o vx_uer.o obj-$(CONFIG_SND_VX_LIB) += snd-vx-lib.o
Signature · 1 line
2.43.0
PATCH 7/9 ALSA: firewire: Use *-y instead of *-objs in Makefile
In reply to Takashi Iwai*-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.
--- sound/firewire/Makefile | 4 ++-- sound/firewire/bebob/Makefile | 2 +- sound/firewire/dice/Makefile | 2 +- sound/firewire/digi00x/Makefile | 2 +- sound/firewire/fireface/Makefile | 2 +- sound/firewire/fireworks/Makefile | 2 +- sound/firewire/motu/Makefile | 2 +- sound/firewire/oxfw/Makefile | 2 +- sound/firewire/tascam/Makefile | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)
sound/firewire/Makefile +2 -2
@@ -2,9 +2,9 @@ # To find a header included by define_trace.h. CFLAGS_amdtp-stream.o := -I$(src) -snd-firewire-lib-objs := lib.o iso-resources.o packets-buffer.o \ +snd-firewire-lib-y := lib.o iso-resources.o packets-buffer.o \ fcp.o cmp.o amdtp-stream.o amdtp-am824.o -snd-isight-objs := isight.o +snd-isight-y := isight.o obj-$(CONFIG_SND_FIREWIRE_LIB) += snd-firewire-lib.o obj-$(CONFIG_SND_DICE) += dice/
sound/firewire/bebob/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0 -snd-bebob-objs := bebob_command.o bebob_stream.o bebob_proc.o bebob_midi.o \ +snd-bebob-y := bebob_command.o bebob_stream.o bebob_proc.o bebob_midi.o \ bebob_pcm.o bebob_hwdep.o bebob_terratec.o \ bebob_yamaha_terratec.o bebob_focusrite.o bebob_maudio.o \ bebob.o
sound/firewire/dice/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-dice-objs := dice-transaction.o dice-stream.o dice-proc.o dice-midi.o \ +snd-dice-y := dice-transaction.o dice-stream.o dice-proc.o dice-midi.o \ dice-pcm.o dice-hwdep.o dice.o dice-tcelectronic.o \ dice-alesis.o dice-extension.o dice-mytek.o dice-presonus.o \ dice-harman.o dice-focusrite.o dice-weiss.o
sound/firewire/digi00x/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-firewire-digi00x-objs := amdtp-dot.o digi00x-stream.o digi00x-proc.o \ +snd-firewire-digi00x-y := amdtp-dot.o digi00x-stream.o digi00x-proc.o \ digi00x-pcm.o digi00x-hwdep.o \ digi00x-transaction.o digi00x-midi.o digi00x.o obj-$(CONFIG_SND_FIREWIRE_DIGI00X) += snd-firewire-digi00x.o
sound/firewire/fireface/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-fireface-objs := ff.o ff-transaction.o ff-midi.o ff-proc.o amdtp-ff.o \ +snd-fireface-y := ff.o ff-transaction.o ff-midi.o ff-proc.o amdtp-ff.o \ ff-stream.o ff-pcm.o ff-hwdep.o ff-protocol-former.o \ ff-protocol-latter.o obj-$(CONFIG_SND_FIREFACE) += snd-fireface.o
sound/firewire/fireworks/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-fireworks-objs := fireworks_transaction.o fireworks_command.o \ +snd-fireworks-y := fireworks_transaction.o fireworks_command.o \ fireworks_stream.o fireworks_proc.o fireworks_midi.o \ fireworks_pcm.o fireworks_hwdep.o fireworks.o obj-$(CONFIG_SND_FIREWORKS) += snd-fireworks.o
sound/firewire/motu/Makefile +1 -1
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 CFLAGS_amdtp-motu.o := -I$(src) -snd-firewire-motu-objs := motu.o amdtp-motu.o motu-transaction.o motu-stream.o \ +snd-firewire-motu-y := motu.o amdtp-motu.o motu-transaction.o motu-stream.o \ motu-proc.o motu-pcm.o motu-midi.o motu-hwdep.o \ motu-protocol-v2.o motu-protocol-v3.o \ motu-protocol-v1.o motu-register-dsp-message-parser.o \
sound/firewire/oxfw/Makefile +1 -1
@@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-oxfw-objs := oxfw-command.o oxfw-stream.o oxfw-pcm.o oxfw-proc.o \ +snd-oxfw-y := oxfw-command.o oxfw-stream.o oxfw-pcm.o oxfw-proc.o \ oxfw-midi.o oxfw-hwdep.o oxfw-spkr.o oxfw-scs1x.o oxfw.o obj-$(CONFIG_SND_OXFW) += snd-oxfw.o
sound/firewire/tascam/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-firewire-tascam-objs := tascam-proc.o amdtp-tascam.o tascam-stream.o \ +snd-firewire-tascam-y := tascam-proc.o amdtp-tascam.o tascam-stream.o \ tascam-pcm.o tascam-hwdep.o tascam-transaction.o \ tascam-midi.o tascam.o obj-$(CONFIG_SND_FIREWIRE_TASCAM) += snd-firewire-tascam.o
Signature · 1 line
2.43.0
Re: [PATCH 7/9] ALSA: firewire: Use *-y instead of *-objs in Makefile
Hi,
Quoted 8 lines · Takashi Iwai
*-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.
Cc Takashi Sakamoto <[email protected]>Signed-off-by Takashi Iwai <[email protected]>
Quoted 11 lines
--- sound/firewire/Makefile | 4 ++-- sound/firewire/bebob/Makefile | 2 +- sound/firewire/dice/Makefile | 2 +- sound/firewire/digi00x/Makefile | 2 +- sound/firewire/fireface/Makefile | 2 +- sound/firewire/fireworks/Makefile | 2 +- sound/firewire/motu/Makefile | 2 +- sound/firewire/oxfw/Makefile | 2 +- sound/firewire/tascam/Makefile | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-)
Good catch.
Thanks
Takashi Sakamoto
PATCH 8/9 ALSA: aoa: Use *-y instead of *-objs in Makefile
In reply to Takashi Iwai*-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.
--- sound/aoa/codecs/Makefile | 6 +++--- sound/aoa/core/Makefile | 2 +- sound/aoa/fabrics/Makefile | 2 +- sound/aoa/soundbus/Makefile | 2 +- sound/aoa/soundbus/i2sbus/Makefile | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-)
sound/aoa/codecs/Makefile +3 -3
@@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 -snd-aoa-codec-onyx-objs := onyx.o -snd-aoa-codec-tas-objs := tas.o -snd-aoa-codec-toonie-objs := toonie.o +snd-aoa-codec-onyx-y := onyx.o +snd-aoa-codec-tas-y := tas.o +snd-aoa-codec-toonie-y := toonie.o obj-$(CONFIG_SND_AOA_ONYX) += snd-aoa-codec-onyx.o obj-$(CONFIG_SND_AOA_TAS) += snd-aoa-codec-tas.o
sound/aoa/core/Makefile +1 -1
@@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 obj-$(CONFIG_SND_AOA) += snd-aoa.o -snd-aoa-objs := core.o \ +snd-aoa-y := core.o \ alsa.o \ gpio-pmf.o \ gpio-feature.o
sound/aoa/fabrics/Makefile +1 -1
@@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-aoa-fabric-layout-objs += layout.o +snd-aoa-fabric-layout-y += layout.o obj-$(CONFIG_SND_AOA_FABRIC_LAYOUT) += snd-aoa-fabric-layout.o
sound/aoa/soundbus/Makefile +1 -1
@@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only obj-$(CONFIG_SND_AOA_SOUNDBUS) += snd-aoa-soundbus.o -snd-aoa-soundbus-objs := core.o sysfs.o +snd-aoa-soundbus-y := core.o sysfs.o obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += i2sbus/
sound/aoa/soundbus/i2sbus/Makefile +1 -1
@@ -1,3 +1,3 @@ # SPDX-License-Identifier: GPL-2.0-only obj-$(CONFIG_SND_AOA_SOUNDBUS_I2S) += snd-aoa-i2sbus.o -snd-aoa-i2sbus-objs := core.o pcm.o control.o +snd-aoa-i2sbus-y := core.o pcm.o control.o
Signature · 1 line
2.43.0
PATCH 9/9 ALSA: misc: Use *-y instead of *-objs in Makefile
In reply to Takashi Iwai*-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.
--- sound/arm/Makefile | 4 ++-- sound/atmel/Makefile | 2 +- sound/i2c/Makefile | 6 +++--- sound/i2c/other/Makefile | 10 +++++----- sound/mips/Makefile | 4 ++-- sound/parisc/Makefile | 2 +- sound/pcmcia/pdaudiocf/Makefile | 2 +- sound/pcmcia/vx/Makefile | 2 +- sound/ppc/Makefile | 2 +- sound/sh/Makefile | 4 ++-- sound/sparc/Makefile | 6 +++--- sound/spi/Makefile | 2 +- sound/synth/Makefile | 2 +- sound/synth/emux/Makefile | 2 +- sound/virtio/Makefile | 2 +- sound/x86/Makefile | 2 +- sound/xen/Makefile | 2 +- 17 files changed, 28 insertions(+), 28 deletions(-)
sound/arm/Makefile +2 -2
@@ -4,11 +4,11 @@ # obj-$(CONFIG_SND_ARMAACI) += snd-aaci.o -snd-aaci-objs := aaci.o +snd-aaci-y := aaci.o obj-$(CONFIG_SND_PXA2XX_LIB) += snd-pxa2xx-lib.o snd-pxa2xx-lib-y := pxa2xx-pcm-lib.o snd-pxa2xx-lib-$(CONFIG_SND_PXA2XX_LIB_AC97) += pxa2xx-ac97-lib.o obj-$(CONFIG_SND_PXA2XX_AC97) += snd-pxa2xx-ac97.o -snd-pxa2xx-ac97-objs := pxa2xx-ac97.o +snd-pxa2xx-ac97-y := pxa2xx-ac97.o
sound/atmel/Makefile +1 -1
@@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-atmel-ac97c-objs := ac97c.o +snd-atmel-ac97c-y := ac97c.o obj-$(CONFIG_SND_ATMEL_AC97C) += snd-atmel-ac97c.o
sound/i2c/Makefile +3 -3
@@ -4,9 +4,9 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-i2c-objs := i2c.o -snd-cs8427-objs := cs8427.o -snd-tea6330t-objs := tea6330t.o +snd-i2c-y := i2c.o +snd-cs8427-y := cs8427.o +snd-tea6330t-y := tea6330t.o obj-$(CONFIG_SND) += other/
sound/i2c/other/Makefile +5 -5
@@ -4,11 +4,11 @@ # Copyright (c) 2003 by Jaroslav Kysela <[email protected]> # -snd-ak4114-objs := ak4114.o -snd-ak4117-objs := ak4117.o -snd-ak4113-objs := ak4113.o -snd-ak4xxx-adda-objs := ak4xxx-adda.o -snd-pt2258-objs := pt2258.o +snd-ak4114-y := ak4114.o +snd-ak4117-y := ak4117.o +snd-ak4113-y := ak4113.o +snd-ak4xxx-adda-y := ak4xxx-adda.o +snd-pt2258-y := pt2258.o # Module Dependency obj-$(CONFIG_SND_PDAUDIOCF) += snd-ak4117.o
sound/mips/Makefile +2 -2
@@ -3,8 +3,8 @@ # Makefile for ALSA # -snd-sgi-o2-objs := sgio2audio.o ad1843.o -snd-sgi-hal2-objs := hal2.o +snd-sgi-o2-y := sgio2audio.o ad1843.o +snd-sgi-hal2-y := hal2.o # Toplevel Module Dependency obj-$(CONFIG_SND_SGI_O2) += snd-sgi-o2.o
sound/parisc/Makefile +1 -1
@@ -3,7 +3,7 @@ # Makefile for ALSA # -snd-harmony-objs := harmony.o +snd-harmony-y := harmony.o # Toplevel Module Dependency obj-$(CONFIG_SND_HARMONY) += snd-harmony.o
sound/pcmcia/pdaudiocf/Makefile +1 -1
@@ -4,6 +4,6 @@ # Copyright (c) 2004 by Jaroslav Kysela <[email protected]> # -snd-pdaudiocf-objs := pdaudiocf.o pdaudiocf_core.o pdaudiocf_irq.o pdaudiocf_pcm.o +snd-pdaudiocf-y := pdaudiocf.o pdaudiocf_core.o pdaudiocf_irq.o pdaudiocf_pcm.o obj-$(CONFIG_SND_PDAUDIOCF) += snd-pdaudiocf.o
sound/pcmcia/vx/Makefile +1 -1
@@ -4,6 +4,6 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-vxpocket-objs := vxpocket.o vxp_ops.o vxp_mixer.o +snd-vxpocket-y := vxpocket.o vxp_ops.o vxp_mixer.o obj-$(CONFIG_SND_VXPOCKET) += snd-vxpocket.o
sound/ppc/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-powermac-objs := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o +snd-powermac-y := powermac.o pmac.o awacs.o burgundy.o daca.o tumbler.o keywest.o beep.o # Toplevel Module Dependency obj-$(CONFIG_SND_POWERMAC) += snd-powermac.o
sound/sh/Makefile +2 -2
@@ -3,8 +3,8 @@ # Makefile for ALSA # -snd-aica-objs := aica.o -snd-sh_dac_audio-objs := sh_dac_audio.o +snd-aica-y := aica.o +snd-sh_dac_audio-y := sh_dac_audio.o # Toplevel Module Dependency obj-$(CONFIG_SND_AICA) += snd-aica.o
sound/sparc/Makefile +3 -3
@@ -4,9 +4,9 @@ # Copyright (c) 2002 by David S. Miller <[email protected]> # -snd-sun-amd7930-objs := amd7930.o -snd-sun-cs4231-objs := cs4231.o -snd-sun-dbri-objs := dbri.o +snd-sun-amd7930-y := amd7930.o +snd-sun-cs4231-y := cs4231.o +snd-sun-dbri-y := dbri.o obj-$(CONFIG_SND_SUN_AMD7930) += snd-sun-amd7930.o obj-$(CONFIG_SND_SUN_CS4231) += snd-sun-cs4231.o
sound/spi/Makefile +1 -1
@@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 # Makefile for SPI drivers -snd-at73c213-objs := at73c213.o +snd-at73c213-y := at73c213.o obj-$(CONFIG_SND_AT73C213) += snd-at73c213.o
sound/synth/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-util-mem-objs := util_mem.o +snd-util-mem-y := util_mem.o # Toplevel Module Dependency obj-$(CONFIG_SND_EMU10K1) += snd-util-mem.o
sound/synth/emux/Makefile +1 -1
@@ -4,7 +4,7 @@ # Copyright (c) 2001 by Jaroslav Kysela <[email protected]> # -snd-emux-synth-objs := emux.o emux_synth.o emux_seq.o emux_nrpn.o \ +snd-emux-synth-y := emux.o emux_synth.o emux_seq.o emux_nrpn.o \ emux_effect.o emux_hwdep.o soundfont.o snd-emux-synth-$(CONFIG_SND_PROC_FS) += emux_proc.o ifneq ($(CONFIG_SND_SEQUENCER_OSS),)
sound/virtio/Makefile +1 -1
@@ -2,7 +2,7 @@ obj-$(CONFIG_SND_VIRTIO) += virtio_snd.o -virtio_snd-objs := \ +virtio_snd-y := \ virtio_card.o \ virtio_chmap.o \ virtio_ctl_msg.o \
sound/x86/Makefile +1 -1
@@ -1,5 +1,5 @@ # SPDX-License-Identifier: GPL-2.0-only -snd-hdmi-lpe-audio-objs += \ +snd-hdmi-lpe-audio-y += \ intel_hdmi_audio.o obj-$(CONFIG_HDMI_LPE_AUDIO) += snd-hdmi-lpe-audio.o
sound/xen/Makefile +1 -1
@@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 OR MIT -snd_xen_front-objs := xen_snd_front.o \ +snd_xen_front-y := xen_snd_front.o \ xen_snd_front_cfg.o \ xen_snd_front_evtchnl.o \ xen_snd_front_alsa.o
Signature · 1 line
2.43.0
Quoted 9 lines · Takashi Iwai
Hi,
this is a series of trivial cleanup patches for
Makefileinsound/*(modulo ASoC -- which will be submitted later in a separate series).As Andy suggested in a patch review, *-objs suffix in
Makefileis basically a mis-use nowadays for kernel driver modules. They should be replaced with *-y suffix instead. This is a result of systematic conversions, separated per directory.
Thanks,
Jaroslav
Signature · 2 lines
Jaroslav Kysela <[email protected]> Linux Sound Maintainer; ALSA Project; Red Hat, Inc.
Quoted 9 lines · Takashi Iwai
Hi,
this is a series of trivial cleanup patches for
Makefileinsound/*(modulo ASoC -- which will be submitted later in a separate series).As Andy suggested in a patch review, *-objs suffix in
Makefileis basically a mis-use nowadays for kernel driver modules. They should be replaced with *-y suffix instead. This is a result of systematic conversions, separated per directory.
I briefly looked at this and since it's a mechanical conversion I don't see any issues, so
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 11 lines · Andy Shevchenko
Quoted 9 lines · Takashi Iwai
Hi,
this is a series of trivial cleanup patches for
Makefileinsound/*(modulo ASoC -- which will be submitted later in a separate series).As Andy suggested in a patch review, *-objs suffix in
Makefileis basically a mis-use nowadays for kernel driver modules. They should be replaced with *-y suffix instead. This is a result of systematic conversions, separated per directory.
Quoted 4 lines
I briefly looked at this and since it's a mechanical conversion I don't see any issues, so
Reviewed-by Andy Shevchenko <[email protected]>
Btw, make W=1 nowadays enables modpost checks, which complain about absence of MODULE_DESCRIPTION().
Example:
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/core/snd-pcm-dmaengine.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-intel-atom.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-acpi-intel-byt.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/intel/snd-sof-acpi-intel-bdw.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/snd-sof-utils.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/soc/sof/snd-sof-acpi.o
WARNING: modpost: missing MODULE_DESCRIPTION() in sound/ac97_bus.o
I'm not sure what the case now for ALSA, just FYI.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 30 lines · Andy Shevchenko
Quoted 11 lines · Andy Shevchenko
Quoted 9 lines · Takashi Iwai
Hi,
this is a series of trivial cleanup patches for
Makefileinsound/*(modulo ASoC -- which will be submitted later in a separate series).As Andy suggested in a patch review, *-objs suffix in
Makefileis basically a mis-use nowadays for kernel driver modules. They should be replaced with *-y suffix instead. This is a result of systematic conversions, separated per directory.Quoted 4 lines
I briefly looked at this and since it's a mechanical conversion I don't see any issues, so
Reviewed-by Andy Shevchenko <[email protected]>Btw, make W=1 nowadays enables modpost checks, which complain about absence of
MODULE_DESCRIPTION().Example:
WARNING: modpost: missingMODULE_DESCRIPTION()insound/core/snd-pcm-dmaengine.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-intel-atom.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-byt.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-bdw.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-utils.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-acpi.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/ac97_bus.o
Quoted 1 line
I'm not sure what the case now for ALSA, just FYI.
Indeed there are lots of code that miss MODULE_DESCRIPTION(). Through a quick grep, there are:
sound/ac97/bus.csound/ac97_bus.csound/core/pcm_dmaengine.csound/core/sound_kunit.csound/drivers/pcmtest.csound/oss/dmasound/dmasound_atari.csound/oss/dmasound/dmasound_core.csound/oss/dmasound/dmasound_paula.csound/pci/hda/cirrus_scodec_test.csound/soc/amd/acp/acp-i2s.csound/soc/amd/acp/acp-legacy-common.csound/soc/amd/acp/acp-pci.csound/soc/amd/acp/acp-pdm.csound/soc/amd/ps/ps-mach.csound/soc/amd/renoir/acp3x-rn.csound/soc/amd/yc/acp6x-mach.csound/soc/codecs/ab8500-codec.csound/soc/codecs/sigmadsp.csound/soc/codecs/wm_adsp.csound/soc/fsl/imx-pcm-dma.csound/soc/fsl/imx-pcm-fiq.csound/soc/mxs/mxs-pcm.csound/soc/qcom/common.csound/soc/qcom/qdsp6/q6dsp-common.csound/soc/qcom/sdw.csound/soc/soc-generic-dmaengine-pcm.csound/soc/soc-topology-test.csound/soc/sof/amd/pci-acp63.csound/soc/sof/amd/pci-rmb.csound/soc/sof/amd/pci-rn.csound/soc/sof/amd/pci-vangogh.csound/soc/sof/imx/imx-common.csound/soc/sof/imx/imx8.csound/soc/sof/imx/imx8m.csound/soc/sof/imx/imx8ulp.csound/soc/sof/intel/atom.csound/soc/sof/intel/bdw.csound/soc/sof/intel/byt.csound/soc/sof/intel/hda-codec.csound/soc/sof/intel/hda-ctrl.csound/soc/sof/intel/hda-mlink.csound/soc/sof/intel/hda.csound/soc/sof/intel/pci-apl.csound/soc/sof/intel/pci-cnl.csound/soc/sof/intel/pci-icl.csound/soc/sof/intel/pci-lnl.csound/soc/sof/intel/pci-mtl.csound/soc/sof/intel/pci-skl.csound/soc/sof/intel/pci-tgl.csound/soc/sof/intel/pci-tng.csound/soc/sof/mediatek/mt8186/mt8186.csound/soc/sof/mediatek/mt8195/mt8195.csound/soc/sof/mediatek/mtk-adsp-common.csound/soc/sof/sof-acpi-dev.csound/soc/sof/sof-of-dev.csound/soc/sof/sof-pci-dev.csound/soc/sof/sof-utils.csound/soc/sof/stream-ipc.csound/soc/ux500/ux500_msp_dai.csound/soc/ux500/ux500_msp_i2s.csound/soc/xilinx/xlnx_formatter_pcm.csound/soc/xilinx/xlnx_i2s.c
There are too many stuff in sound/soc/sof/* and I leave them to SOF people (Cc'ed), while I'm going to submit the fix patches for the rest.
thanks,
Takashi
Quoted 35 lines · Takashi Iwai
Quoted 30 lines · Andy Shevchenko
Quoted 11 lines · Andy Shevchenko
Quoted 9 lines · Takashi Iwai
Hi,
this is a series of trivial cleanup patches for
Makefileinsound/*(modulo ASoC -- which will be submitted later in a separate series).As Andy suggested in a patch review, *-objs suffix in
Makefileis basically a mis-use nowadays for kernel driver modules. They should be replaced with *-y suffix instead. This is a result of systematic conversions, separated per directory.Quoted 4 lines
I briefly looked at this and since it's a mechanical conversion I don't see any issues, so
Reviewed-by Andy Shevchenko <[email protected]>Btw, make W=1 nowadays enables modpost checks, which complain about absence of
MODULE_DESCRIPTION().Example:
WARNING: modpost: missingMODULE_DESCRIPTION()insound/core/snd-pcm-dmaengine.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-intel-atom.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-byt.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-bdw.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-utils.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-acpi.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/ac97_bus.oQuoted 1 line
I'm not sure what the case now for ALSA, just FYI.
Indeed there are lots of code that miss
MODULE_DESCRIPTION().
...
Quoted 3 lines
There are too many stuff in
sound/soc/sof/*and I leave them to SOF people (Cc'ed), while I'm going to submit the fix patches for the rest.
ok, I'll take care of it. I wasn't aware this was a requirement.
Quoted 38 lines · Pierre-Louis Bossart
Quoted 34 lines · Takashi Iwai
Quoted 31 lines · Andy Shevchenko
Quoted 11 lines · Andy Shevchenko
Quoted 9 lines · Takashi Iwai
Hi,
this is a series of trivial cleanup patches for
Makefileinsound/*(modulo ASoC -- which will be submitted later in a separate series).As Andy suggested in a patch review, *-objs suffix in
Makefileis basically a mis-use nowadays for kernel driver modules. They should be replaced with *-y suffix instead. This is a result of systematic conversions, separated per directory.Quoted 4 lines
I briefly looked at this and since it's a mechanical conversion I don't see any issues, so
Reviewed-by Andy Shevchenko <[email protected]>Btw, make W=1 nowadays enables modpost checks, which complain about absence of
MODULE_DESCRIPTION().Example:
WARNING: modpost: missingMODULE_DESCRIPTION()insound/core/snd-pcm-dmaengine.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-intel-atom.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-byt.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-bdw.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-utils.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-acpi.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/ac97_bus.oI'm not sure what the case now for ALSA, just FYI.
Quoted 7 lines
Quoted 1 line
Indeed there are lots of code that miss
MODULE_DESCRIPTION()....
Quoted 3 lines
There are too many stuff in
sound/soc/sof/*and I leave them to SOF people (Cc'ed), while I'm going to submit the fix patches for the rest.ok, I'll take care of it. I wasn't aware this was a requirement.
It wasn't, but now became so :)
Takashi
Quoted 36 lines · Takashi Iwai
Quoted 34 lines · Pierre-Louis Bossart
Quoted 33 lines · Takashi Iwai
Quoted 28 lines · Andy Shevchenko
Quoted 10 lines · Andy Shevchenko
Quoted 7 lines · Takashi Iwai
this is a series of trivial cleanup patches for
Makefileinsound/*(modulo ASoC -- which will be submitted later in a separate series).As Andy suggested in a patch review, *-objs suffix in
Makefileis basically a mis-use nowadays for kernel driver modules. They should be replaced with *-y suffix instead. This is a result of systematic conversions, separated per directory.Quoted 4 lines
I briefly looked at this and since it's a mechanical conversion I don't see any issues, so
Reviewed-by Andy Shevchenko <[email protected]>Btw, make W=1 nowadays enables modpost checks, which complain about absence of
MODULE_DESCRIPTION().Example:
WARNING: modpost: missingMODULE_DESCRIPTION()insound/core/snd-pcm-dmaengine.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-intel-atom.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-byt.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-bdw.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-utils.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-acpi.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/ac97_bus.oQuoted 1 line
I'm not sure what the case now for ALSA, just FYI.
Indeed there are lots of code that miss
MODULE_DESCRIPTION().
Quoted 8 lines
Quoted 6 lines
...
Quoted 3 lines
There are too many stuff in
sound/soc/sof/*and I leave them to SOF people (Cc'ed), while I'm going to submit the fix patches for the rest.ok, I'll take care of it. I wasn't aware this was a requirement.
It wasn't, but now became so :)
Seems this is the result of fixing... the 2008 bug:
https://bugzilla.kernel.org/show_bug.cgi?id=10770
Signature · 2 lines
With Best Regards, Andy Shevchenko
Quoted 42 lines · Andy Shevchenko
Quoted 41 lines · Takashi Iwai
Quoted 39 lines · Pierre-Louis Bossart
Quoted 33 lines · Takashi Iwai
Quoted 28 lines · Andy Shevchenko
Quoted 10 lines · Andy Shevchenko
Quoted 7 lines · Takashi Iwai
this is a series of trivial cleanup patches for
Makefileinsound/*(modulo ASoC -- which will be submitted later in a separate series).As Andy suggested in a patch review, *-objs suffix in
Makefileis basically a mis-use nowadays for kernel driver modules. They should be replaced with *-y suffix instead. This is a result of systematic conversions, separated per directory.Quoted 4 lines
I briefly looked at this and since it's a mechanical conversion I don't see any issues, so
Reviewed-by Andy Shevchenko <[email protected]>Btw, make W=1 nowadays enables modpost checks, which complain about absence of
MODULE_DESCRIPTION().Example:
WARNING: modpost: missingMODULE_DESCRIPTION()insound/core/snd-pcm-dmaengine.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-intel-atom.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-byt.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/intel/snd-sof-acpi-intel-bdw.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-utils.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/soc/sof/snd-sof-acpi.o
WARNING: modpost: missingMODULE_DESCRIPTION()insound/ac97_bus.oQuoted 1 line
I'm not sure what the case now for ALSA, just FYI.
Indeed there are lots of code that miss
MODULE_DESCRIPTION()....
Quoted 3 lines
There are too many stuff in
sound/soc/sof/*and I leave them to SOF people (Cc'ed), while I'm going to submit the fix patches for the rest.
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
ok, I'll take care of it. I wasn't aware this was a requirement.
It wasn't, but now became so :)
Seems this is the result of fixing... the 2008 bug:
https://bugzilla.kernel.org/show_bug.cgi?id=10770
I've been slowly cleaning these tree-wide.
Will now remove sound/... from my "hit list" :)