mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-12 20:15:04 +07:00
9 lines
200 B
Bash
9 lines
200 B
Bash
![]() |
#!/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
|