Added eicon subdir in stddiff.

Made copy based on diff default for std2kern.
This commit is contained in:
Fritz Elfert 1999-04-12 13:12:28 +00:00
parent a39bb9c61d
commit 12bfb88ad9
2 changed files with 13 additions and 3 deletions

View File

@ -1,11 +1,12 @@
#!/bin/sh
KERNELDIR=/usr/src/linux
DOCP=docp
DOCP=docpd
docpd() {
if ! cmp -s $1 $2 ; then
echo Copying $1 ...
mkdir -p `dirname $2`
cp $1 $2
# else
# echo $2 is up to date, NOT converted
@ -15,6 +16,7 @@ docpd() {
docp() {
if [ $1 -nt $2 -o ! -f $2 ] ; then
echo Copying $1 ...
mkdir -p `dirname $2`
cp $1 $2
# else
# echo $2 is up to date, NOT converted
@ -35,7 +37,7 @@ usage() {
Options:
-h This Text.
-d Copy depends on file-compare instead on modification date.
-d Copy depends on modification date instead of file-compare.
-k DIR Kerneltree is in DIR instead of /usr/src/linux
Without any files given, within the whole tree, the "right"
@ -73,7 +75,7 @@ while getopts :dhk: a ; do
k) checkkernel $OPTARG
KERNELDIR=$OPTARG
;;
d) DOCP=docpd
d) DOCP=docp
;;
h) usage
;;

View File

@ -99,6 +99,12 @@ else
for i in drivers/isdn/act2000/*.[ch] ; do
dodiff $i $KERNELDIR/$i
done
for i in drivers/isdn/isdnloop/*.[ch] ; do
dodiff $i $KERNELDIR/$i
done
for i in drivers/isdn/eicon/*.[ch] ; do
dodiff $i $KERNELDIR/$i
done
for i in include/linux/*.h ; do
dodiff $i $KERNELDIR/$i
done
@ -111,9 +117,11 @@ else
dodiff $i $KERNELDIR/$i
done
for i in drivers/isdn/Makefile drivers/isdn/icn/Makefile \
drivers/isdn/isdnloop/Makefile \
drivers/isdn/sc/Makefile \
drivers/isdn/avmb1/Makefile \
drivers/isdn/act2000/Makefile \
drivers/isdn/eicon/Makefile \
drivers/isdn/hisax/Makefile \
drivers/isdn/pcbit/Makefile ; do
if [ -f $i.kernel ] ; then