From: Takashi Iwai <tiwai@suse.de>
To: Martin Habets <errandir_news@mph.eclipse.co.uk>
Cc: alsa-devel@alsa-project.org
Subject: Re: How to build alsa-driver for sparc?
Date: Mon, 27 Sep 2004 22:01:37 +0200 [thread overview]
Message-ID: <s5hllev1nxa.wl@alsa2.suse.de> (raw)
In-Reply-To: <20040927191437.GA436@palantir8>
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
At Mon, 27 Sep 2004 20:14:38 +0100,
Martin Habets wrote:
>
> I'm trying to build alsa-driver-1.0.7rc1 for SPARC32, but have
> found that CONFIG_SPARC32 is not set in toplevel.config.
> After initial failure, I have tried the steps from cvscompile, and rebuild
> utils/mod-deps.
>
> After I hand-edit toplevel.config and apply the patch attached, it does
> start building. But the whole generation of toplevel.config leaves my
> wondering how to make it work properly.
>
> Any hints?
How about the attached patch?
Takashi
[-- Attachment #2: Type: text/plain, Size: 1682 bytes --]
Index: alsa-driver/Makefile
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-driver/Makefile,v
retrieving revision 1.74
diff -u -r1.74 Makefile
--- alsa-driver/Makefile 25 Aug 2004 14:00:50 -0000 1.74
+++ alsa-driver/Makefile 27 Sep 2004 20:00:56 -0000
@@ -53,6 +53,13 @@
ifeq (y,$(CONFIG_PPC))
SUBDIRS += ppc
endif
+ifeq (y,$(CONFIG_SPARC32))
+SUBDIRS += sparc
+else
+ifeq (y,$(CONFIG_SPARC64))
+SUBDIRS += sparc
+endif
+endif
ifeq (y,$(CONFIG_SGI))
SUBDIRS += hal2
endif
Index: alsa-driver/configure.in
===================================================================
RCS file: /suse/tiwai/cvs/alsa/alsa-driver/configure.in,v
retrieving revision 1.195
diff -u -r1.195 configure.in
--- alsa-driver/configure.in 21 Sep 2004 19:41:13 -0000 1.195
+++ alsa-driver/configure.in 27 Sep 2004 19:59:03 -0000
@@ -698,6 +698,8 @@
CONFIG_L3=
CONFIG_ARM=
CONFIG_PPC=
+CONFIG_SPARC32=
+CONFIG_SPARC64=
CONFIG_SND_BIT32_EMUL=
processor=""
rm -f processor.id
@@ -920,6 +922,7 @@
test "$CONFIG_ISA" = "probe" && CONFIG_ISA=
;;
sparc)
+ CONFIG_SPARC32=y
IS_EGCS=n
NEW_GAS=n
test $CC -m32 -S -o /dev/null -xc /dev/null >/dev/null 2>&1 && IS_EGCS=y
@@ -936,6 +939,7 @@
test "$CONFIG_ISA" = "probe" && CONFIG_ISA=
;;
sparc64)
+ CONFIG_SPARC64=y
CC=gcc
test gcc -m64 -S -o /dev/null -xc /dev/null >/dev/null 2>&1 || CC=sparc64-linux-gcc
NEW_GCC=n
@@ -1044,6 +1048,8 @@
AC_SUBST(CONFIG_L3)
AC_SUBST(CONFIG_ARM)
AC_SUBST(CONFIG_PPC)
+AC_SUBST(CONFIG_SPARC32)
+AC_SUBST(CONFIG_SPARC64)
AC_SUBST(CONFIG_ISA)
AC_SUBST(CONFIG_PARISC)
AC_SUBST(CONFIG_SND_BIT32_EMUL)
next prev parent reply other threads:[~2004-09-27 20:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-27 19:14 How to build alsa-driver for sparc? Martin Habets
2004-09-27 20:01 ` Takashi Iwai [this message]
2004-09-28 0:25 ` Martin Habets
2004-09-28 16:51 ` 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=s5hllev1nxa.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@alsa-project.org \
--cc=errandir_news@mph.eclipse.co.uk \
/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