summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-02-06 14:01:07 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-10 14:38:39 +0000
commitd90565366caf31e62e1069b9ef3c778c3fc45e9b (patch)
treebd684c7cbda9e5b8dfb459d896ad904d27565ece /meta
parent8d41b0ddbf02fcd8b44f36f59194d5a9c2292092 (diff)
downloadpoky-d90565366caf31e62e1069b9ef3c778c3fc45e9b.tar.gz
external-csl-toolchain: fix mtd-user.h issue
The use of __packed, which isn't defined in userspace, caused busybox build failures. (From OE-Core rev: 9c44bb6434a1d2347ebbb38bde9671688b0ae447) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/meta/external-csl-toolchain.bb1
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 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() {
66 fi 66 fi
67 ln -s ../../bin/gdbserver ${D}${libdir}/bin/sysroot-gdbserver 67 ln -s ../../bin/gdbserver ${D}${libdir}/bin/sysroot-gdbserver
68 68
69 sed -i -e 's/__packed/__attribute__ ((packed))/' ${D}${includedir}/mtd/ubi-user.h
69 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so 70 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so
70 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so 71 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so
71} 72}