[OE-core] [PATCH 3/4] external-csl-toolchain: correct binary packaging
Christopher Larson
kergoth at gmail.com
Mon Feb 6 21:20:12 UTC 2012
From: Christopher Larson <chris_larson at mentor.com>
CS puts optimized executables in usr/lib/bin, not usr/bin.
Signed-off-by: Christopher Larson <chris_larson at mentor.com>
---
meta/recipes-core/meta/external-csl-toolchain.bb | 7 ++++++-
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 e81559a..5b4134e 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/__packed/__attribute__ ((packed))/' ${D}${includedir}/mtd/ubi-user.h
sed -i -e "s# /lib# ../../lib#g" -e "s# /usr/lib# .#g" ${D}${libdir}/libc.so
--
1.7.7
More information about the Openembedded-core
mailing list