diff options
Diffstat (limited to 'strata/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.def')
-rw-r--r-- | strata/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.def | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/strata/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.def b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.def new file mode 100644 index 00000000..d8288851 --- /dev/null +++ b/strata/armv7lhf-cross-toolchain/armv7lhf-cross-linux-api-headers.def @@ -0,0 +1,9 @@ +name: armv7lhf-cross-linux-api-headers +install-commands: +- 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" |