aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-08-24 05:57:02 +0000
committerTom Rini <trini@ti.com>2012-08-27 15:37:08 -0700
commit774fcb240ecf477fc48dec333bf07f1249a0e718 (patch)
tree91de733f110c700458671bb55ca5e4aba06c4627
parentedb7dc4cb3aaaca0089d8567e777f9938e9043f3 (diff)
downloadopenembedded-774fcb240ecf477fc48dec333bf07f1249a0e718.tar.gz
openembedded-774fcb240ecf477fc48dec333bf07f1249a0e718.tar.bz2
openembedded-774fcb240ecf477fc48dec333bf07f1249a0e718.zip
qt-4.7.1: Dont create symlinks for non existing binaries
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tom Rini <trini@ti.com>
-rw-r--r--recipes/qt4/qt-4.7.1.inc9
1 files changed, 4 insertions, 5 deletions
diff --git a/recipes/qt4/qt-4.7.1.inc b/recipes/qt4/qt-4.7.1.inc
index bf3f39edff..7177d26a16 100644
--- a/recipes/qt4/qt-4.7.1.inc
+++ b/recipes/qt4/qt-4.7.1.inc
@@ -49,10 +49,6 @@ do_compile() {
fi
unset CFLAGS CXXFLAGS
- install -m 0755 ${STAGING_BINDIR_NATIVE}/rcc4 ${S}/bin/rcc
- install -m 0755 ${STAGING_BINDIR_NATIVE}/moc4 ${S}/bin/moc
- install -m 0755 ${STAGING_BINDIR_NATIVE}/uic4 ${S}/bin/uic
- install -m 0755 ${STAGING_BINDIR_NATIVE}/lrelease4 ${S}/bin/lrelease
oe_runmake ${EXTRA_ENV}
}
@@ -60,7 +56,10 @@ do_compile() {
do_install_append() {
install -d ${D}${bindir}
for i in rcc uic moc ; do
- install -m 0755 ${S}/bin/$i ${D}${bindir}/
+ if [ -e ${S}/bin/$i ]
+ then
+ install -m 0755 ${S}/bin/$i ${D}${bindir}/
+ fi
done
#Append an E to the qtdemo file