aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/meta
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:42:18 +0000
commit25d22bfb0970f7152b678796f2282dced7230fe1 (patch)
tree4c9e5826223f738c5157648104d55da0708b2546 /meta/recipes-core/meta
parent481f6f32cd414ff11f154adc24f1b596495286df (diff)
downloadopenembedded-core-contrib-25d22bfb0970f7152b678796f2282dced7230fe1.tar.gz
openembedded-core-contrib-25d22bfb0970f7152b678796f2282dced7230fe1.tar.bz2
openembedded-core-contrib-25d22bfb0970f7152b678796f2282dced7230fe1.zip
external-csl-toolchain: correct binary packaging
CS puts optimized executables in usr/lib/bin, not usr/bin. Signed-off-by: Christopher Larson <chris_larson@mentor.com>
Diffstat (limited to 'meta/recipes-core/meta')
-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 7dd8da2630c..fc35acbb939 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() {
rm ${D}${sysconfdir}/rpc
rm -r ${D}${datadir}/zoneinfo
- rm -r ${D}${libdir}/bin
+
+ mv ${D}${libdir}/bin/* ${D}${bindir}/
+ if [ -e ${D}${libdir}/bin/.debug ]; then
+ install -d ${D}${bindir}/.debug
+ mv ${D}${libdir}/bin/.debug/* ${D}${bindir}/.debug/
+ fi
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