Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
kernel
/
msm
/
7c440e7990ea22c0c374c59a5fbd79b0579d1517
/
.
/
scripts
/
hdrcheck.sh
blob: b3bb683b56b638f527e7e1a7c961aa50c91260b7 [
file
] [
log
] [
blame
]
#!/bin/sh
for
FILE
in
`grep '^#include <' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm`
;
do
if
[
!
-
r $1
/
$FILE
];
then
echo $2 requires $FILE
,
which does not exist
exit
1
fi
done