diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2013-03-17 10:33:32 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-03-21 22:01:07 +0100 |
commit | 193c4ad89cf7ab43ff03f849bf47f2cbad99bf3b (patch) | |
tree | 1128e60ffae92aa6dd09997e26c9d274c0967cdc | |
parent | 022fe03271eaaebc8ecfa01961169a4e642783ee (diff) | |
download | meta-openembedded-193c4ad89cf7ab43ff03f849bf47f2cbad99bf3b.tar.gz |
opencv: enable SSE1/2/3 and SSSE3 when finding '-msse3' in TARGET_CC_ARCH
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/opencv/opencv_2.4.3.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb index 77d75da75..2114e77f3 100644 --- a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb +++ b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb | |||
@@ -16,7 +16,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/opencvlibrary/opencv-unix/${PV}/OpenCV-${PV}.ta | |||
16 | SRC_URI[md5sum] = "c0a5af4ff9d0d540684c0bf00ef35dbe" | 16 | SRC_URI[md5sum] = "c0a5af4ff9d0d540684c0bf00ef35dbe" |
17 | SRC_URI[sha256sum] = "f8fbe985978d4eae73e8c3b526ed40a37d4761d2029a5b035233f58146f6f59b" | 17 | SRC_URI[sha256sum] = "f8fbe985978d4eae73e8c3b526ed40a37d4761d2029a5b035233f58146f6f59b" |
18 | 18 | ||
19 | PR = "r1" | 19 | PR = "r2" |
20 | 20 | ||
21 | S = "${WORKDIR}/OpenCV-${PV}" | 21 | S = "${WORKDIR}/OpenCV-${PV}" |
22 | 22 | ||
@@ -27,6 +27,7 @@ EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR} | |||
27 | -DWITH_V4L=ON \ | 27 | -DWITH_V4L=ON \ |
28 | -DWITH_GTK=ON \ | 28 | -DWITH_GTK=ON \ |
29 | -DCMAKE_SKIP_RPATH=ON \ | 29 | -DCMAKE_SKIP_RPATH=ON \ |
30 | ${@bb.utils.contains("TARGET_CC_ARCH", "-msse3", "-DENABLE_SSE=1 -DENABLE_SSE2=1 -DENABLE_SSE3=1 -DENABLE_SSSE3=1", "", d)} \ | ||
30 | " | 31 | " |
31 | 32 | ||
32 | inherit distutils-base pkgconfig cmake | 33 | inherit distutils-base pkgconfig cmake |