repo/core/linux-headers/build

10 lines
251 B
Plaintext
Raw Normal View History

2019-06-17 08:09:32 -06:00
#!/bin/sh -e
2020-04-27 07:07:07 -06:00
make HOSTCC="${CC:-cc}" headers
# The headers require rsync for installation, this command
# simply does the equivalent using find.
find usr/include -name \*.h -type f | while read -r file; do
install -Dm644 "$file" "$1/$file"
done