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

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

 



On Tue, 1 Aug 2006, 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
> 
> 2. to add the module into linux/sound/drivers/Makefile
> 
> snd-dummy1-objs := dummy1.o
> obj-$(CONFIG_SND_DUMMY1) += snd-dummy1.o
> 
> 3. to run cvscompile
> 
> However I get an error from make daying no rule to make target dummy1.c
> 
> do I miss something?

Yes, first step is obsolete. You should update the drivers/Kconfig file 
instead.

						Jaroslav

-----
Jaroslav Kysela <perex@xxxxxxx>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------------------------
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