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