ALSA: usb: Use *-y instead of *-objs in Makefile
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 May 2024 13:55:05 +0000 (15:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 8 May 2024 16:17:53 +0000 (18:17 +0200)
*-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-6-tiwai@suse.de
sound/usb/6fire/Makefile
sound/usb/Makefile
sound/usb/hiface/Makefile
sound/usb/misc/Makefile
sound/usb/usx2y/Makefile

index 7d353bbf7493105b255f4b9472b2a867bf14bf51..587f25c64e56a220c8a5dc46f6f83b83a57d78bb 100644 (file)
@@ -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
 
index 8c657c2753c84f0f36f5a305de731f85e4d7d806..0532499dbc6d6ab01e4c2ad15e02f37884d5cd43 100644 (file)
@@ -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
index 8f3b24e7d6c21157f9c8937f9ed7f1575f3d2b8f..997c1558d0cb766f75ef6877d47332d38673eaca 100644 (file)
@@ -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
index 068ecd7bc0434bf97d082ebe2a4dccec08a077f4..3e9f4adc28de4755176401d0174a71bb65777e81 100644 (file)
@@ -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
index cc4c2f1efab2ca04eefbbcb62be274db420a3608..fc033aba03a4cd47b4f5c9ff16cb358e9030bd9c 100644 (file)
@@ -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