summaryrefslogtreecommitdiff
path: root/chunks/build-essential-linux-api-headers.morph
diff options
context:
space:
mode:
Diffstat (limited to 'chunks/build-essential-linux-api-headers.morph')
-rw-r--r--chunks/build-essential-linux-api-headers.morph9
1 files changed, 9 insertions, 0 deletions
diff --git a/chunks/build-essential-linux-api-headers.morph b/chunks/build-essential-linux-api-headers.morph
new file mode 100644
index 00000000..05762306
--- /dev/null
+++ b/chunks/build-essential-linux-api-headers.morph
@@ -0,0 +1,9 @@
+name: linux-api-headers
+kind: chunk
+repo: upstream:linux
+ref: eff825d6e284eb0fb04b434429a3e3b2e10cabf8
+install-commands:
+- make mrproper
+- ARCH=$(./morph-arch) make INSTALL_HDR_PATH=dest headers_install
+- install -d "$DESTDIR${PREFIX-/usr}/include"
+- cp -r dest/include/* "$DESTDIR/${PREFIX-/usr}/include"