Added eicon subdir in stddiff.
Made copy based on diff default for std2kern.
This commit is contained in:
parent
a39bb9c61d
commit
12bfb88ad9
8
std2kern
8
std2kern
|
@ -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
|
||||
;;
|
||||
|
|
8
stddiff
8
stddiff
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue