From: Andrei Boros <andrei@srr.ro>
To: alsa-devel@lists.sourceforge.net
Subject: dummy driver and Makefile inconsistency
Date: Wed, 19 Mar 2003 10:48:09 +0200 [thread overview]
Message-ID: <3E782EC9.EBB0A68@srr.ro> (raw)
alsa-kernel/core/seq/Makefile contains the following:
obj-$(CONFIG_SND_SEQ_DUMMY) += snd-seq-dummy.o
However, there is no definition of CONFIG_SND_SEQ_DUMMY anywhere !!!
I believe CONFIG_SND_SEQ_DUMMY should be set to "m" if dummy driver and
sequencer support are enabled.
---------------------------------------------------------------
I made several changes so that ./configure sets this properly and the
module gets built properly, but I am having some trouble integrating it
with autoconf in the cvs tree before running cvscompile.
Here are the modifications I made in my alsa-driver/ :
Makefile line 50:
-----------------------------------------------------------------
CONFIG_PCMCIA = @CONFIG_PCMCIA@
CONFIG_SND_SEQUENCER = @CONFIG_SND_SEQUENCER@
+CONFIG_SND_SEQ_DUMMY = @CONFIG_SND_SEQ_DUMMY@
CONFIG_SND_OSSEMUL = @CONFIG_SND_OSSEMUL@
ifeq (y,$(CONFIG_SND_OSSEMUL))
CONFIG_SND_MIXER_OSS = m
CONFIG_SND_PCM_OSS = m
-----------------------------------------------------------------
configure.in line 792 :
-----------------------------------------------------------------
fi
AC_SUBST(CONFIG_SND_SEQUENCER)
+dnl if test "$CONFIG_SND_DUMMY" = "m"; then
+ CONFIG_SND_SEQ_DUMMY="m"
+ AC_SUBST(CONFIG_SND_SEQ_DUMMY)
+ AC_DEFINE_CONFIG_SND_SEQ_DUMMY)
+dnl fi
if test "$CONFIG_SND_SEQUENCER" = "m"; then
AC_DEFINE(CONFIG_SND_SEQUENCER)
-----------------------------------------------------------------
configure line 2930 : (I don't know how to integrate this with autoconf
and cvscompile)
-----------------------------------------------------------------
#define CONFIG_SND_DUMMY_MODULE 1
EOF
+ if test "$CONFIG_SND_SEQUENCER" = "m"; then
+ CONFIG_SND_SEQ_DUMMY="m"
+ fi
CONFIG_SND_VIRMIDI="m"
cat >> confdefs.h <<\EOF
-----------------------------------------------------------------
configure line 3408 : (I don't know how to integrate this with autoconf
and cvscompile)
-----------------------------------------------------------------
#define CONFIG_SND_DUMMY_MODULE 1
EOF
+ if test "$CONFIG_SND_SEQUENCER" = "m"; then
+ CONFIG_SND_SEQ_DUMMY="m"
+ fi
;;
-----------------------------------------------------------------
--
ing. Andrei Boros
mailto:andrei@srr.ro / +40-21-303-1870
Centrul pt. Tehnologia Informatiei
Societatea Romana de Radiodifuziune
-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink?
You could win a Tablet PC. Get a free Tablet PC hat just for playing.
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
next reply other threads:[~2003-03-19 8:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-19 8:48 Andrei Boros [this message]
2003-03-19 11:42 ` dummy driver and Makefile inconsistency Takashi Iwai
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=3E782EC9.EBB0A68@srr.ro \
--to=andrei@srr.ro \
--cc=alsa-devel@lists.sourceforge.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.