diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-02-21 13:38:23 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-02-27 14:59:39 +0000 |
commit | 69eec66bf6a51070739bd83617ebdff6f26e88c0 (patch) | |
tree | 3c6f884bd3c0d0f5fe4eaef19943357008c000a0 | |
parent | f9755c0c4d5274bbb4a34ca147690ec3bba02d94 (diff) | |
download | linux-baserock/richardmaw/S10442/cross-toolchain.tar.gz |
Add morphology for building arm headersbaserock/richardmaw/S10442/cross-toolchain
-rw-r--r-- | armv7lhf-cross-linux-api-headers.morph | 11 |
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" |