From 25d22bfb0970f7152b678796f2282dced7230fe1 Mon Sep 17 00:00:00 2001 From: Christopher Larson Date: Mon, 6 Feb 2012 14:01:57 -0600 Subject: external-csl-toolchain: correct binary packaging CS puts optimized executables in usr/lib/bin, not usr/bin. Signed-off-by: Christopher Larson --- meta/recipes-core/meta/external-csl-toolchain.bb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'meta') 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 -- cgit v1.2.3