File:  [DVB] / dvb-kernel / makelinks
Revision 1.14: download - view: text, annotated - select for diffs
Wed May 28 07:50:13 2003 UTC (21 years ago) by hunold
Branches: MAIN
CVS tags: HEAD
I removed all "analog" drivers from the main CVS repository and moved them
to a separate "analog-2.4" directory. Main reasons:

- the drivers don't have anything to do with dvb 8-)

- the drivers are already in the kernel (besides the "Hexium" driver)
  and don't change that much any more

- the analog drivers rely on the i2c subsystem, which was heavily modified
  between 2.4 and 2.5. When making a new DVB patchset I have to work around
  these differences every time, which is very annoying

#!/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`

for x in `find drivers -type d | grep -v CVS | grep -v bt8xx | grep -v ttusb` ; 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/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>