Understand the old pseudo-device config(8) file directive, for 4.x.
This commit is contained in:
parent
50fbb1fb9f
commit
bbfc6ebf1a
@ -31,7 +31,7 @@ for f in */drivers.conf; do
|
||||
arch=`dirname $f`
|
||||
grep -v '^#' $f | grep -v '^$' | awk '{ print $1 }' |
|
||||
while read x; do
|
||||
egrep -qw "^(device|options)[[:space:]]+$x" ../sys/${arch}/conf/GENERIC || \
|
||||
egrep -qw "^((pseudo-)?device|options)[[:space:]]+$x" ../sys/${arch}/conf/GENERIC || \
|
||||
echo $x not found in $arch/GENERIC
|
||||
sed -e'/"SMALL"/,/^else$/d' ${arch}/dokern.sh | \
|
||||
grep -qw $x && \
|
||||
@ -46,7 +46,7 @@ for f in */dokern.sh; do
|
||||
grep -w -- -e | sed -e's,^[^/]*/,,' -e's,/.*$,,' |
|
||||
grep -v '^ident\.\*GENERIC$' |
|
||||
while read x; do
|
||||
egrep -q "^(device|options|makeoptions)[[:space:]]+$x" \
|
||||
egrep -q "^((pseudo-)?device|options|makeoptions)[[:space:]]+$x" \
|
||||
../sys/${arch}/conf/GENERIC || \
|
||||
echo $x not found in $arch/GENERIC
|
||||
grep -qw ^$x ${arch}/drivers.conf && \
|
||||
|
Loading…
x
Reference in New Issue
Block a user