diff options
Diffstat (limited to 'armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph')
-rw-r--r-- | armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph b/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph new file mode 100644 index 00000000..c3672998 --- /dev/null +++ b/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph @@ -0,0 +1,13 @@ +name: armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.morph +kind: chunk +repo: upstream:linux +ref: eff825d6e284eb0fb04b434429a3e3b2e10cabf8 +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" |