aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2011-12-21 17:19:31 +0100
committerFlorian Boor <florian.boor@kernelconcepts.de>2012-09-27 17:47:37 +0200
commit02a8bddaf70e36486eb2f324b8726219d6e6dbf0 (patch)
tree682d8058a42c74d74dcc4ea00482ba1fdb0fbcf6
parentbc0f99ea393da07f5ffc47498c55ebcec2bf70ce (diff)
downloadopenembedded-02a8bddaf70e36486eb2f324b8726219d6e6dbf0.tar.gz
qt-4.7.3.inc: Rename all binaries instead of qtdemo only
In order to allow both Qt/X11 and Qt/E installed on one system it is required to have unique names for the installed binaries (useful e.g. for toolchains) Signed-off-by: Florian Boor <florian.boor@kernelconcepts.de>
-rw-r--r--recipes/qt4/qt-4.7.3.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes/qt4/qt-4.7.3.inc b/recipes/qt4/qt-4.7.3.inc
index b29d892515..14304166d8 100644
--- a/recipes/qt4/qt-4.7.3.inc
+++ b/recipes/qt4/qt-4.7.3.inc
@@ -49,10 +49,10 @@ do_install_append() {
install -m 0755 ${S}/bin/$i ${D}${bindir}/
done
- #Append an E to the qtdemo file
- if [ -n "${QT_LIBINFIX}" ] ; then
- mv ${D}${bindir}/qtdemo ${D}${bindir}/qtdemo${QT_LIBINFIX}
- fi
+ cd ${D}/${bindir}
+ for f in `ls | grep -v -E "*${QT_LIBINFIX}" | grep -v ${QT_DIR_NAME}`; do
+ mv ${f} ${f}${QT_LIBINFIX};
+ done
}
SRC_URI[md5sum] = "49b96eefb1224cc529af6fe5608654fe"