Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1:/tmp/cvs-serv22823/scripts
Modified Files:
alsa-driver
Log Message:
alsa stage 1
Index: alsa-driver
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/alsa-driver,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- alsa-driver 7 Nov 2003 17:44:57 -0000 1.3
+++ alsa-driver 7 Nov 2003 18:39:43 -0000 1.4
@@ -20,12 +20,14 @@
source $MYDIR/settings
source $MYDIR/functions
+KERNELDIR=$(find_src_dir linux)
+
MYNAME=ALSA-DRIVER
case $1 in
build )
if [ "$CONFIG_ALSA" = "y" ]; then
- ./configure --with-isa-pnp=yes --with-oss=yes --with-sequencer=yes --with-cards=all --with-kernel=$WORKDIR/linux-2.4.22 --with-moddir=$CDDIR/lib/modules/2.4.22/misc --sysconfdir=$ETCDIR || exit 1
+ ./configure --with-isa-pnp=yes --with-oss=yes --with-sequencer=yes --with-cards=all --with-kernel=$KERNELDIR --with-moddir=$CDDIR/lib/modules/$KERNELVERSION/misc --sysconfdir=$ETCDIR || exit 1
make $PMAKE || exit 1
strip_debug
fi
|