From patchwork Mon Feb 6 21:20:11 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2/4] external-csl-toolchain: fix mtd-user.h issue Date: Mon, 06 Feb 2012 21:20:11 -0000 From: Christopher Larson X-Patchwork-Id: 20809 Message-Id: To: openembedded-core@lists.openembedded.org Cc: Christopher Larson From: Christopher Larson The use of __packed, which isn't defined in userspace, caused busybox build failures. Signed-off-by: Christopher Larson --- meta/recipes-core/meta/external-csl-toolchain.bb | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb index 7dd8da2..e81559a 100644 --- a/meta/recipes-core/meta/external-csl-toolchain.bb +++ b/meta/recipes-core/meta/external-csl-toolchain.bb @@ -60,6 +60,7 @@ do_install() { rm -r ${D}${datadir}/zoneinfo rm -r ${D}${libdir}/bin + sed -i -e 's/__packed/__attribute__ ((packed))/' ${D}${includedir}/mtd/ubi-user.h sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so }