diff options
author | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-01 03:27:37 +0000 |
---|---|---|
committer | Mauro Carvalho Chehab <devnull@localhost> | 2005-06-01 03:27:37 +0000 |
commit | 60bfed10defd8ee920ab058cc8baa55331a77fc0 (patch) | |
tree | 425f0ecf0e84aceaaa647f7b94adbdd2688b6ca4 | |
parent | 66f5424175886c0021ad10244dbf8c6c8fcc5891 (diff) | |
download | mediapointer-dvb-s2-60bfed10defd8ee920ab058cc8baa55331a77fc0.tar.gz mediapointer-dvb-s2-60bfed10defd8ee920ab058cc8baa55331a77fc0.tar.bz2 |
Add a new script to make easier to locate differences between v4l develop-
ment and kernel 2.6.
-rw-r--r-- | v4l/ChangeLog | 11 | ||||
-rw-r--r-- | v4l/scripts/make_kern_diff.sh | 34 |
2 files changed, 42 insertions, 3 deletions
diff --git a/v4l/ChangeLog b/v4l/ChangeLog index 90fe4cbc3..111fa6f90 100644 --- a/v4l/ChangeLog +++ b/v4l/ChangeLog @@ -1,10 +1,15 @@ +2005-06-01 03:32 mchehab + * scripts/make_kern_diff.sh: + + - new script to check differences between kernel CVS and kernel 2.6 + 2005-05-30 16:43 mchehab - * cx88-cards,c: + * cx88-cards.c: - changed tuner number to its corresponding name for PV Ultra Pro. 2005-05-30 16:33 mchehab - * cx88-cards,c: + * cx88-cards.c: - Included PCI ID 14f1:8800 to CX88_BOARD_PIXELVIEW_PLAYTV_ULTRA_PRO @@ -1087,7 +1092,7 @@ saa7134-reg.h, saa7134-ts.c, saa7134-tvaudio.c, saa7134-vbi.c, saa7134-video.c, saa7134.h, video-buf.c, video-buf.h: - - added a bunch of $Id: ChangeLog,v 1.12 2005/05/30 15:46:02 mchehab Exp $ tags. + - added a bunch of $Id: ChangeLog,v 1.13 2005/06/01 03:27:37 mchehab Exp $ tags. 2004-09-15 17:35 kraxel diff --git a/v4l/scripts/make_kern_diff.sh b/v4l/scripts/make_kern_diff.sh new file mode 100644 index 000000000..6fb815fa7 --- /dev/null +++ b/v4l/scripts/make_kern_diff.sh @@ -0,0 +1,34 @@ +KERNEL=/usr/src/linux-2.6.12-rc5-mm + +KDIR="`find $KERNEL/drivers/media/ -type d|sed s,$KERNEL/,,g`" + +echo $KDIR + +CUR="`pwd`" +mkdir kernel +cd kernel +for d in $KDIR; do + mkdir -p $d + FILES="`ls $KERNEL/$d|grep -v Makefile`" + + for f in $FILES; do + if [ -e $CUR/$f ]; then + echo ln -sf $CUR/$f $d/$f + ln -sf $CUR/$f $d/$f + fi + done +done + +mkdir -p Documentation/video4linux +FILES="`find $CUR/doc/* -type f`" +for f in $FILES; do + echo ln -sf $f Documentation/video4linux/ + ln -sf $f Documentation/video4linux/ + +done + +cd $CUR +# Excludes DVB code from diff +rm -r kernel/drivers/media/dvb + +(export LC_ALL=C;diff -ur /usr/src/linux-2.6.12-rc5-mm kernel/|grep -v Only) |