summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Larson <chris_larson@mentor.com>2012-02-06 14:01:57 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-02-08 10:57:09 +0000
commit57b7b8a7ba6aa957d276da1047bf917a27511b6a (patch)
tree1b6a8dd5152710142f8c1ff4cd52dc6738786ab4
parentb5b4066b0849e53eef29c32b0a15b0a2b598e5d6 (diff)
downloadpoky-57b7b8a7ba6aa957d276da1047bf917a27511b6a.tar.gz
external-csl-toolchain: correct binary packaging
CS puts optimized executables in usr/lib/bin, not usr/bin. (From OE-Core rev: 25d22bfb0970f7152b678796f2282dced7230fe1) Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/meta/external-csl-toolchain.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-core/meta/external-csl-toolchain.bb b/meta/recipes-core/meta/external-csl-toolchain.bb
index 7dd8da2630..fc35acbb93 100644
--- a/meta/recipes-core/meta/external-csl-toolchain.bb
+++ b/meta/recipes-core/meta/external-csl-toolchain.bb
@@ -58,7 +58,12 @@ do_install() {
58 58
59 rm ${D}${sysconfdir}/rpc 59 rm ${D}${sysconfdir}/rpc
60 rm -r ${D}${datadir}/zoneinfo 60 rm -r ${D}${datadir}/zoneinfo
61 rm -r ${D}${libdir}/bin 61
62 mv ${D}${libdir}/bin/* ${D}${bindir}/
63 if [ -e ${D}${libdir}/bin/.debug ]; then
64 install -d ${D}${bindir}/.debug
65 mv ${D}${libdir}/bin/.debug/* ${D}${bindir}/.debug/
66 fi
62 67
63 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so 68 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so
64 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so 69 sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libpthread.so