From: Christopher Larson Date: Mon, 6 Feb 2012 20:01:07 +0000 (-0600) Subject: external-csl-toolchain: fix mtd-user.h issue X-Git-Tag: 2015-4~11780 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9c44bb6434a1d2347ebbb38bde9671688b0ae447;p=openembedded-core.git external-csl-toolchain: fix mtd-user.h issue The use of __packed, which isn't defined in userspace, caused busybox build failures. Signed-off-by: Christopher Larson --- diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb index 22aa99657f..d15578bf78 100644 --- a/meta/recipes-core/meta/external-csl-toolchain.bb +++ b/meta/recipes-core/meta/external-csl-toolchain.bb @@ -66,6 +66,7 @@ do_install() { fi ln -s ../../bin/gdbserver ${D}${libdir}/bin/sysroot-gdbserver + 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 }