summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/opencv
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2016-11-16 02:32:01 -0500
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-23 15:24:45 +0100
commitcefba87ff0a5f12cdb377038d67ab8550d500e82 (patch)
tree706c62e95afa49e91b7f1c8550d701d91ba3d40b /meta-oe/recipes-support/opencv
parentaca16cee97bf870c293243ca2d21ec5efbe30623 (diff)
downloadmeta-openembedded-cefba87ff0a5f12cdb377038d67ab8550d500e82.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-support/opencv')
-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 72bf5b4ce..1bbb965c8 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() {
138 sed -i '/blobtrack/d' ${D}${includedir}/opencv/cvaux.h 138 sed -i '/blobtrack/d' ${D}${includedir}/opencv/cvaux.h
139 139
140 # Move Python files into correct library folder (for multilib build) 140 # Move Python files into correct library folder (for multilib build)
141 if [ "$libdir" != "/usr/lib" ]; then 141 if [ "$libdir" != "/usr/lib" -a -d ${D}/usr/lib ]; then
142 mv ${D}/usr/lib/* ${D}/${libdir}/ 142 mv ${D}/usr/lib/* ${D}/${libdir}/
143 rm -rf ${D}/usr/lib 143 rm -rf ${D}/usr/lib
144 fi 144 fi