summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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() {
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