From: Heiko Z. <smi...@us...> - 2007-06-04 21:07:26
|
Update of /cvsroot/devil-linux/build/scripts In directory sc8-pr-cvs12.sourceforge.net:/tmp/cvs-serv20056 Added Files: Tag: rel-1-2-patches prism54 Log Message: - updated busybox to v1.5.1 - replaced kernel prism54 driver with old version from prism54.org, since it doesn't support hostapd --- NEW FILE: prism54 --- #!/bin/bash # $Source: /cvsroot/devil-linux/build/scripts/Attic/prism54,v $ # $Revision: 1.4.2.2 $ # $Date: 2007/06/04 21:07:13 $ # # 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 linux # 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 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 "EXTRA_CFLAGS=-DPRISM54_COMPAT24 -DCONFIG_PRISM54_WDS -DCONFIG_PRISM54_HOSTAPD" 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 prism54firmware)/* $CDDIR/usr/lib/hotplug/firmware/ || exit 1 fi ;; * ) echo "ERROR ($0)" echo "please add parameter so I know what to do" exit 1 ;; esac |