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