summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2013-03-17 10:33:33 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2013-03-21 22:01:08 +0100
commit6663d9c05efe9b604bd8596a21cd38344e2fa3a1 (patch)
treefe4a769ced7f488653c0e477ac18f9ebbb19dc41 /meta-oe
parent193c4ad89cf7ab43ff03f849bf47f2cbad99bf3b (diff)
downloadmeta-openembedded-6663d9c05efe9b604bd8596a21cd38344e2fa3a1.tar.gz
opencv: switch to out-of-tree builds
This eliminates a few warnings from the configure step and makes sense in general. Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-support/opencv/opencv_2.4.3.bb4
1 files changed, 4 insertions, 0 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 2114e77f3..916c8c57e 100644
--- a/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
+++ b/meta-oe/recipes-support/opencv/opencv_2.4.3.bb
@@ -20,6 +20,10 @@ PR = "r2"
20 20
21S = "${WORKDIR}/OpenCV-${PV}" 21S = "${WORKDIR}/OpenCV-${PV}"
22 22
23# Do an out-of-tree build
24OECMAKE_SOURCEPATH = "${S}"
25OECMAKE_BUILDPATH = "${WORKDIR}/build-${TARGET_ARCH}"
26
23EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include \ 27EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include \
24 -DBUILD_PYTHON_SUPPORT=ON \ 28 -DBUILD_PYTHON_SUPPORT=ON \
25 -DWITH_FFMPEG=ON \ 29 -DWITH_FFMPEG=ON \