aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-04-27 16:26:03 +0300
committerCem Keylan <cem@ckyln.com>2020-04-27 16:26:03 +0300
commit44f95c336afa47026f0c263cac43ac8d6d98be05 (patch)
treec70feda7bf138942119983965ff2f63baf499ca7
parent49ac9f643ac38d33c9bc4ff6ab346d4f40a540b7 (diff)
downloadrepository-44f95c336afa47026f0c263cac43ac8d6d98be05.tar.gz
linux-headers: fix building without rsync
-rwxr-xr-xcore/linux-headers/build6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/linux-headers/build b/core/linux-headers/build
index 5eae502f..269a45f1 100755
--- a/core/linux-headers/build
+++ b/core/linux-headers/build
@@ -1,3 +1,7 @@
#!/bin/sh -e
-make headers_install INSTALL_HDR_PATH="$1/usr"
+make headers
+
+# This is used to install headers without an
+# rsync dependency.
+find usr/include -name '*.h' -exec install -Dm644 "{}" "$1/{}" \;