From: Takashi Iwai Subject: Re: How to add a new module to the drivers package? Date: Tue, 01 Aug 2006 14:55:35 +0200 Message-ID: References: <200608011446.36562.vetter@thb.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200608011446.36562.vetter@thb.de> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Robert Vetter Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org 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