From mboxrd@z Thu Jan 1 00:00:00 1970 From: Takashi Iwai Subject: Re: Adding module to ALSA tree with Kconfig script Date: Mon, 26 Apr 2004 19:00:32 +0200 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: References: <408D22B4.9040106@linuxmail.org> Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII Return-path: In-Reply-To: <408D22B4.9040106@linuxmail.org> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: perrye@linuxmail.org Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org At Mon, 26 Apr 2004 09:54:44 -0500, Perry Gilfillan wrote: > > I've looked at the revised "Writing an ALSA Driver" chapter 14, and > still can't get it straight. The first hurdle is creating a Kconfig > script in the alsa-kernel/i2c directory. This is what I came up with: i2c directory is for the common i2c modules. this isn't the place to put the card driver. if it's a PCI card, put it under pci directory. or, if it's a generic driver, you can put it into drivers directory. > Chapter 14 has the second line written as 'extra-obj-$( ....', so I > tried it both ways. argh, it's a typo. obj-$(CONFIG_XXXX) is correct. > I'm building against a 2.4.25 kernel, so how do I invoke the Kconfig > scripts? ALSA configure script checks Kconfig and generates the proper configuration for older kernels, too. you don't need extra setting. Takashi ------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297