From: Christopher Larson <[email protected]>

The use of __packed, which isn't defined in userspace, caused busybox build
failures.

Signed-off-by: Christopher Larson <[email protected]>
---
 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 22aa996..d15578b 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
 }
-- 
1.7.6.5


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to