diff options
author | Christopher Larson <chris_larson@mentor.com> | 2012-02-06 14:01:57 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-02-08 10:42:18 +0000 |
commit | 25d22bfb0970f7152b678796f2282dced7230fe1 (patch) | |
tree | 4c9e5826223f738c5157648104d55da0708b2546 /meta/recipes-core | |
parent | 481f6f32cd414ff11f154adc24f1b596495286df (diff) | |
download | openembedded-core-25d22bfb0970f7152b678796f2282dced7230fe1.tar.gz openembedded-core-25d22bfb0970f7152b678796f2282dced7230fe1.tar.bz2 openembedded-core-25d22bfb0970f7152b678796f2282dced7230fe1.tar.xz openembedded-core-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')
-rw-r--r-- | 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 7dd8da263..fc35acbb9 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 |