Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: perrye@linuxmail.org
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: Adding module to ALSA tree with Kconfig script
Date: Mon, 26 Apr 2004 19:00:32 +0200	[thread overview]
Message-ID: <s5hk702lln3.wl@alsa2.suse.de> (raw)
In-Reply-To: <408D22B4.9040106@linuxmail.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

      reply	other threads:[~2004-04-26 17:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-26 14:54 Adding module to ALSA tree with Kconfig script Perry Gilfillan
2004-04-26 17:00 ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hk702lln3.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=perrye@linuxmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox