forked from alnux/repo
8 lines
170 B
Text
Executable file
8 lines
170 B
Text
Executable file
cd /usr/src/linux
|
|
|
|
make HOSTCC="$CC" headers
|
|
|
|
find usr/include -name \*.h -type f | while read -r file; do
|
|
mkdir -p "$1/${file%/*}"
|
|
cp -f "$file" "$1/$file"
|
|
done
|