Blame view
scripts/hdrcheck.sh
281 Bytes
684753599 Basic implementat... |
1 |
#!/bin/sh |
120e2a972 [PATCH] headers_c... |
2 |
for FILE in `grep '^[ \t]*#[ \t]*include[ \t]*<' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm` ; do |
684753599 Basic implementat... |
3 |
if [ ! -r $1/$FILE ]; then |
d5e064a6c [PATCH] headers_c... |
4 |
echo $2 requires $FILE, which does not exist in exported headers |
684753599 Basic implementat... |
5 6 7 |
exit 1 fi done |
de7891258 Use dependencies ... |
8 9 |
# FIXME: List dependencies into $3 touch $3 |