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
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to