#!/bin/sh #---------------------------------------------------------------------------- # _do_motion_modules - joblist to do before mktarball.sh work # # Creation : 2008-08-16 jed # Last update: $Id$ #---------------------------------------------------------------------------- #exec 2> `pwd`/targz-trace$$.log #set -x # get current directory call_dir=`pwd` # get start directory start_dir=`dirname $0`/.. cd ${start_dir} start_dir=`pwd` #echo "You are here:${start_dir}" # delete already existing archives rm -f ${start_dir}/eis/tmp/usb_*.tar* #for KVERSION in 2.4.26-1 2.4.35-wt1 2.4.35-wt1-SMP for KVERSION in 2.4.26-1 do mod_archive="${start_dir}/eis/tmp/usb_${KVERSION}.tar" for MODNAME in bin_mod_usbcam bin_cpia_1_3_1 bin_qc_usb_0_6_6 bin_qc_usb_messenger_1_8 \ bin_spca5xx_00_60_00_1 bin_pwc_mod_usbcam # removed new pwc/pwcx drivers for kernel v2.4.26-1 because their not working properly. # removed new pwc/pwcx drivers for kernel v2.4.35-wt1 because their now part of the kernel package. # bin_spca5xx_00_60_00_1 bin_pwc_9_0_2_pwcx_9_0 do if [ -d ${start_dir}/${MODNAME} ] then cd ${start_dir}/${MODNAME} # echo "1-you are here:`pwd`" if [ -d lib/modules/${KVERSION} ] then # tar rvf ${mod_archive} --exclude=.svn --exclude=doc --owner=root --group=root lib/modules/${KVERSION} tar rf ${mod_archive} --exclude=.svn --exclude=doc --owner=root --group=root lib/modules/${KVERSION} fi fi done if [ -f ${mod_archive} ] then gzip ${mod_archive} fi done