]> git.armaanb.net Git - asd-repo.git/blob - core/linux-headers/build
Adapt for asd linux
[asd-repo.git] / core / linux-headers / build
1 #!/bin/sh -e
2
3 make HOSTCC="${CC:-cc}" headers
4
5 # The headers require rsync for installation, this command
6 # simply does the equivalent using find.
7 find usr/include -name \*.h -type f | while read -r file; do
8     install -Dm644 "$file" "$1/$file"
9 done