aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2016-11-16 02:32:01 -0500
committerArmin Kuster <akuster808@gmail.com>2016-11-29 08:22:22 -0800
commitd08864a28964d4cfe829f48063958d0d5ce85cd2 (patch)
treeb4297ed87eba7a53ab625639036454c2f3e61f00 /meta-oe/recipes-support
parentcb2477355d0e39f2a960ee054bff9ddfebd20827 (diff)
downloadmeta-openembedded-contrib-d08864a28964d4cfe829f48063958d0d5ce85cd2.tar.gz
meta-openembedded-contrib-d08864a28964d4cfe829f48063958d0d5ce85cd2.tar.bz2
meta-openembedded-contrib-d08864a28964d4cfe829f48063958d0d5ce85cd2.zip
opencv: checking existence of /usr/lib
Remove install errors: mv: cannot stat '.../tmp/work/mips64-wrs-linux/opencv/3.1+gitAUTOINC +92387b1ef8-r0/image/usr/lib/*': No such file or directory Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> (cherry picked from commit cefba87ff0a5f12cdb377038d67ab8550d500e82) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support')
-rw-r--r--meta-oe/recipes-support/opencv/opencv_3.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_3.1.bb b/meta-oe/recipes-support/opencv/opencv_3.1.bb
index 72bf5b4cea..1bbb965c84 100644
--- a/meta-oe/recipes-support/opencv/opencv_3.1.bb
+++ b/meta-oe/recipes-support/opencv/opencv_3.1.bb
@@ -138,7 +138,7 @@ do_install_append() {
sed -i '/blobtrack/d' ${D}${includedir}/opencv/cvaux.h
# Move Python files into correct library folder (for multilib build)
- if [ "$libdir" != "/usr/lib" ]; then
+ if [ "$libdir" != "/usr/lib" -a -d ${D}/usr/lib ]; then
mv ${D}/usr/lib/* ${D}/${libdir}/
rm -rf ${D}/usr/lib
fi