File:  [DVB] / dvb-kernel / makelinks
Revision 1.5: download - view: text, annotated - select for diffs
Mon Dec 30 21:10:58 2002 UTC (21 years, 5 months ago) by hunold
Branches: MAIN
CVS tags: HEAD
Next chunk of big splitup / cleanup:
(tested on 2.4.18 and 2.5.53 -- the budget driver is
untested, Holger will test it the next week)

saa7146:
- completely separated the saa7146 driver into a core-driver (saa7146.o) and
  a video/vbi part (saa7146_vv.o). this allows you to build the budget driver
  without av7110 and videodev bloat (see below)

The following thinks have been approved by Holger Waechtler:

av7110 (now ttpci):
- for 2.5.x: removed the av7110 directory and put everything into ttpci.
- removed all budget card support from this driver
- compile and build fixes for the saa7146 changes

ttpci-budget (new):
- for 2.5.x: created a new ttpci-budget directory, added a new driver for
  the budget cards

mxb:
- compile and build fixes for the saa7146 changes

Changed the build and compile files for both 2.5.x and build-2.4 of course...

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