summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-03-05 14:37:33 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-03-05 14:37:33 +0000
commiteff825d6e284eb0fb04b434429a3e3b2e10cabf8 (patch)
tree3c6f884bd3c0d0f5fe4eaef19943357008c000a0
parentf9755c0c4d5274bbb4a34ca147690ec3bba02d94 (diff)
parent69eec66bf6a51070739bd83617ebdff6f26e88c0 (diff)
downloadlinux-baserock/build-essential.tar.gz
Merge branch 'baserock/richardmaw/S10442/cross-toolchain' into baserock/build-essentialbaserock/build-essential
Reviewed-by: Lars Wirzenius and Sam Thursfield
-rw-r--r--armv7lhf-cross-linux-api-headers.morph11
1 files changed, 11 insertions, 0 deletions
diff --git a/armv7lhf-cross-linux-api-headers.morph b/armv7lhf-cross-linux-api-headers.morph
new file mode 100644
index 000000000000..351134b72806
--- /dev/null
+++ b/armv7lhf-cross-linux-api-headers.morph
@@ -0,0 +1,11 @@
+name: armv7lhf-cross-linux-api-headers
+kind: chunk
+install-commands:
+- make mrproper
+- ARCH=arm make INSTALL_HDR_PATH=dest headers_install
+- |
+ # Copy headers to the sysroot where the eglibc build will find them,
+ # and install its own headers and libraries.
+ export TARGET=armv7lhf-baserock-linux-gnueabi
+ install -d "$DESTDIR$PREFIX/$TARGET/sys-root/$PREFIX/include"
+ cp -r dest/include/* "$DESTDIR/$PREFIX/$TARGET/sys-root/$PREFIX/include"