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