Suppose that the driver snd-xyz have several source files. They are located in the new subdirectory, pci/xyz.
Add a new directory (xyz
) in
alsa-driver/pci/Makefile
as below
obj-$(CONFIG_SND) += xyz/
Under the directory xyz
, create a Makefile
Create the Kconfig entry
This procedure is as same as in the last section.
Run cvscompile script to re-generate the configure script and build the whole stuff again.