linux-headers: Drop rsync

This commit is contained in:
Dylan Araps 2020-04-27 16:07:07 +03:00
parent 50df29f275
commit f83278231b
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E
2 changed files with 7 additions and 5 deletions

View File

@ -1,6 +1,9 @@
#!/bin/sh -e
make \
headers_install \
INSTALL_HDR_PATH="$1/usr" \
HOSTCC="${CC:-cc}"
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

View File

@ -1 +0,0 @@
rsync make