summaryrefslogtreecommitdiff
path: root/strata/build-essential/stage2-linux-api-headers.morph
diff options
context:
space:
mode:
Diffstat (limited to 'strata/build-essential/stage2-linux-api-headers.morph')
-rw-r--r--strata/build-essential/stage2-linux-api-headers.morph9
1 files changed, 9 insertions, 0 deletions
diff --git a/strata/build-essential/stage2-linux-api-headers.morph b/strata/build-essential/stage2-linux-api-headers.morph
new file mode 100644
index 00000000..e7d1f8ed
--- /dev/null
+++ b/strata/build-essential/stage2-linux-api-headers.morph
@@ -0,0 +1,9 @@
+name: stage2-linux-api-headers
+kind: chunk
+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"