2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 23:30:05 -07:00
repo/core/linux-headers/build
2020-04-27 16:07:07 +03:00

10 lines
251 B
Bash
Executable File

#!/bin/sh -e
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