X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fhdrcheck.sh;h=31598584f87183caf56c4c0fe2fc196ae4546d50;hb=64f104e89b2b30107a21c5f05c3e2ffa6291e129;hp=cbf650dbc7d7e34fab93d49a0f85fd124aa86a61;hpb=120e2a97268c312bf81ee3d8cacc75d1f75ef8b5;p=linux-2.6 diff --git a/scripts/hdrcheck.sh b/scripts/hdrcheck.sh index cbf650dbc7..31598584f8 100755 --- a/scripts/hdrcheck.sh +++ b/scripts/hdrcheck.sh @@ -2,7 +2,9 @@ for FILE in `grep '^[ \t]*#[ \t]*include[ \t]*<' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm` ; do if [ ! -r $1/$FILE ]; then - echo $2 requires $FILE, which does not exist + echo $2 requires $FILE, which does not exist in exported headers exit 1 fi done +# FIXME: List dependencies into $3 +touch $3