Skip to content

Commit 5e7488c

Browse files
andy-shevtiwai
authored andcommitted
ALSA: docs: Correct the kernel object suffix of target
The correct suffix is 'y' for the kernel code and 'objs' for the user space. Update documentation. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20240506085219.3403731-1-andriy.shevchenko@linux.intel.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent e8336a6 commit 5e7488c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Documentation/sound/kernel-api/writing-an-alsa-driver.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3976,7 +3976,7 @@ Driver with A Single Source File
39763976

39773977
Suppose you have a file xyz.c. Add the following two lines::
39783978

3979-
snd-xyz-objs := xyz.o
3979+
snd-xyz-y := xyz.o
39803980
obj-$(CONFIG_SND_XYZ) += snd-xyz.o
39813981

39823982
2. Create the Kconfig entry
@@ -4019,7 +4019,7 @@ located in the new subdirectory, sound/pci/xyz.
40194019

40204020
2. Under the directory ``sound/pci/xyz``, create a Makefile::
40214021

4022-
snd-xyz-objs := xyz.o abc.o def.o
4022+
snd-xyz-y := xyz.o abc.o def.o
40234023
obj-$(CONFIG_SND_XYZ) += snd-xyz.o
40244024

40254025
3. Create the Kconfig entry

0 commit comments

Comments
 (0)