Re: How to add a new module to the drivers package?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Tue, 1 Aug 2006 14:46:36 +0200,
Robert Vetter wrote:
> 
> 
> Hi,
> 
> I'm trying to add a new driver (for example dummy1) module to the drivers 
> package. What i do is:
> 
> 1. to add the module into scripts/Modules.dep
> 
> %dir linux/sound/drivers
> |snd-dummy snd-pcm
> |snd-dummy1 snd-pcm

Modules.dep is obsoleted (where did you find it?).
You need to add a corresponding entry in Kconfig file.  The dependency
should be given in Kconfig (e.g. add a line "select SND_PCM").

> 2. to add the module into linux/sound/drivers/Makefile
> 
> snd-dummy1-objs := dummy1.o
> obj-$(CONFIG_SND_DUMMY1) += snd-dummy1.o

Correct.

> 3. to run cvscompile

Or hgcompile script.  If you're using CVS from the old ALSA CVS repo,
stop it.  CVS is dead.


Takashi

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux