File:  [DVB] / dvb-kernel / makelinks
Revision 1.10: download - view: text, annotated - select for diffs
Fri Mar 28 09:38:07 2003 UTC (21 years, 2 months ago) by hunold
Branches: MAIN
CVS tags: HEAD
A whole bunch of small changes all over the place:

makelinks: adjust the script for the upcoming kernel patches

driver.mxb: prevent the tuner module from probing unnecessary i2c addresses

getlinks: put symlinks for the header files to the right place(TM)

videodev.c: add a verbose error message just for the case that a user
 has compiled the v4l module into the kernel

media/Kconfig: the dpc driver does not the tuner module

saa7146_hlp.c: honour the swapped field order for av7110 based cards
 in capture mode, too

saa7146_video.c: add some verbose messages for the v4l2 controls

mxb.c: hopefully fix the detection and initialization of the sound arena module

#!/bin/sh


if test -z $1 || ! test -d $1 ; then
	echo
	echo "  usage: $0 <path_to_kernel_to_patch>"
	echo
	exit 
fi

echo "patching $1..."

cd linux
PWD=`pwd`

#rm -rf $1/drivers/media/dvb/frontends/*
#for x in `find drivers/media/dvb/frontends/ -type f | grep -v CVS | grep -v .cvsignore` ; do
#	ln -v -f -s $PWD/$x $1/$x
#done

#rm -rf $1/drivers/media/dvb/dvb-core/*
#for x in `find drivers/media/dvb/dvb-core/ -type f | grep -v CVS | grep -v .cvsignore` ; do
#	ln -v -f -s $PWD/$x $1/$x
#done

#exit

for x in `find drivers -type d | grep -v CVS | grep -v ttusb | grep -v bt8xx ` ; do
	mkdir -p -v $1/$x 
done

for x in `find include -type d | grep -v CVS` ; do
	mkdir -p -v $1/$x 
done

for x in `find drivers -type f | grep -v CVS | grep -v .cvsignore | grep -v bt8xx | grep -v ttusb ` ; do
	ln -v -f -s $PWD/$x $1/$x
done

for x in `find lib -type f | grep -v CVS | grep -v .cvsignore` ; do
	ln -v -f -s $PWD/$x $1/$x
done

for x in `find $1/drivers/media/dvb -type f | grep "saa"` ; do 
	rm -rf $x
done

rm -rf $1/drivers/media/dvb/dvb-core/compat*
rm -rf $1/drivers/media/dvb/frontends/alps_bsru6.*
rm -rf $1/drivers/media/dvb/av7110

for x in `find include -type f | grep -v CVS | grep -v .cvsignore` ; do
	ln -v -f -s $PWD/$x $1/$x
done


LinuxTV legacy CVS <linuxtv.org/cvs>