I have successfully built an LTSP kernel with ALSA using the LBE.
I also hacked the rc.sound ... to include ALSA. I can forward these files to you if you like
The package.def looks like this.: # # package.def file for building a package in the the LTSP build environment # # Copyright (c) 2003 by James A. McQuillan (McQuillan Systems, LLC) # # This software is licensed under the Gnu General Public License. # The full text of which can be found at http://www.LTSP.org/license.txt #
VERSION = 1.0.6 RELEASE = a PKG1COMPONENT = alsa-driver PKG1NAME = alsa-driver
PKG1 = alsa-driver-1.0.6a.tar.bz2 MD5SUM1 = e5baf4561d250c2bdee62332b216c5fc
SOURCE1 = ftp://ftp.alsa-project.org/pub/driver/${PKG1}
UNPACK1 = bunzip2 < ${TARBALL} | tar xf -
BUILDDIR = alsa-driver-1.0.6a
#PREPATCH1 = patch -p1 <../server_port.patch #PREPATCH2 = patch -p1 <../bootp.patch
CONFIGURE = export PATH=/usr/i386-linux-uclibc/usr/bin:$PATH; \
export CC=/usr/i386-linux-uclibc/bin/i386-uclibc-gcc; \
./configure --target=i386-linux \
--host=i386-linux \
--build=i386-linux \
--includedir=/kernel-src/linux-2.4.26/linux-2.4.26/include \
--with-moddir=/lib/modules/2.4.26-ltsp-1/kernel/sound \
--with-kernel=/kernel-src/linux-2.4.26/linux-2.4.26 ; \
sed -e 's/root/0/g' Makefile >Makefile.modified; \
cp Makefile.modified Makefile
BUILD = export PATH=/usr/i386-linux-uclibc/usr/bin:$PATH; \ make -j ${CPUS} CFLAGS_EXTRA="-march=i386" \ CC=/usr/i386-linux-uclibc/bin/i386-uclibc-gcc
INSTALL = make DESTDIR=${LTSP_ROOT} install
#depmod -a -b /opt/ltsp/i386/ -F /kernel-src/linux-2.4.26/linux-2.4.26/System.map 2.4.26-ltsp-1 \
CLEAN = rm -rf ${BUILDDIR}
David James Germiquet wrote:
I was wondering if anyone had any success in compiling the kernel with Alsa
Drivers.
As well, I'm trying to compile the 2.4.24 kernel but im getting errors.
I think the errors are from compiling with a newer version of gcc. Does anyone know how to compile the kernel with the new compiler or how to install the old compiliner and keep the new one?
-- Darryl Bond NRG Gladstone Operating Services Pty Ltd ( Gladstone Power Station ) [email: [EMAIL PROTECTED] [voice: (07) 49 765756] [fax: (07) 49 765722] snail: PO Box 5046 Gladstone 4680 Queensland , Australia
DISCLAIMER
The contents of this electronic message and any attachments are intended only for the addressee and may contain legally privileged, personal, sensitive or confidential information. If you are not the intended addressee, and have received this email, any transmission, distribution, downloading, printing or photocopying of the contents of this message or attachments is strictly prohibited. Any legal privilege or confidentiality attached to this message and attachments is not waived, lost or destroyed by reason of delivery to any person other than intended addressee. If you have received this message and are not the intended addressee you should notify the sender by return email and destroy all copies of the message and any attachments. Unless expressly attributed, the views expressed in this email do not necessarily represent the views of the company.
------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net