From 69eec66bf6a51070739bd83617ebdff6f26e88c0 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Fri, 21 Feb 2014 13:38:23 +0000 Subject: Add morphology for building arm headers --- armv7lhf-cross-linux-api-headers.morph | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 armv7lhf-cross-linux-api-headers.morph 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" -- cgit v1.2.1