blob: cbf650dbc7d7e34fab93d49a0f85fd124aa86a61 [file] [log] [blame]
David Woodhouse68475352006-06-18 12:02:10 +01001#!/bin/sh
2
Alexey Dobriyan120e2a92006-09-12 20:36:00 -07003for FILE in `grep '^[ \t]*#[ \t]*include[ \t]*<' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm` ; do
David Woodhouse68475352006-06-18 12:02:10 +01004 if [ ! -r $1/$FILE ]; then
5 echo $2 requires $FILE, which does not exist
6 exit 1
7 fi
8done