From: <smi...@us...> - 2003-12-31 19:38:39
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs1:/tmp/cvs-serv17512/scripts Added Files: prism54 Log Message: oops, forgott to check in the build script --- NEW FILE: prism54 --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/prism54,v $ # $Revision: 1.1 $ # $Date: 2003/12/31 19:38:35 $ # # http://www.devil-linux.org # you need the next line, otherwise script won't be executed !!! # DL-build-system v3 ### BEGIN INIT INFO # Provides: prism54 # Required-Start: $basebuildtools $libs # Required-Stop: # Default-Start: 1 2 # Default-Stop: # Description: description ### END INIT INFO # get the directoryname of the script MYDIR=${0%/*} # source functions and config source $MYDIR/settings source $MYDIR/functions KERNELDIR=$(find_src_dir linux) case $1 in build ) if [ "$CONFIG_PRISM54" = "y" ]; then mkdir -p /lib/modules/$KERNELVERSION || exit 1 ln -sf $KERNELDIR /lib/modules/$KERNELVERSION/build || exit 1 make KVER=$KERNELVERSION modules || exit 1 strip_debug fi ;; install ) if [ "$CONFIG_PRISM54" = "y" ]; then mkdir -p $CDDIR/lib/modules/$KERNELVERSION/kernel/drivers/net/wireless/prism54/ || exit 1 cp ksrc/prism54.o $CDDIR/lib/modules/$KERNELVERSION/kernel/drivers/net/wireless/prism54/ || exit 1 mkdir -p $DOCDIR/prism54 || exit 1 cp -dp README $DOCDIR/prism54/ || exit 1 mkdir -p $CDDIR/usr/lib/hotplug/firmware || exit 1 cp -dp $(find_src_dir prism54-firmware)/* $CDDIR/usr/lib/hotplug/firmware/ || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |