[oe-commits] Koen Kooi : opencv: switch to out-of-tree builds
git at git.openembedded.org
git at git.openembedded.org
Thu Mar 21 21:01:22 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: 6663d9c05efe9b604bd8596a21cd38344e2fa3a1
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=6663d9c05efe9b604bd8596a21cd38344e2fa3a1
Author: Koen Kooi <koen at dominion.thruhere.net>
Date: Sun Mar 17 10:33:33 2013 +0000
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 at dominion.thruhere.net>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-support/opencv/opencv_2.4.3.bb | 4 ++++
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 2114e77..916c8c5 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"
S = "${WORKDIR}/OpenCV-${PV}"
+# Do an out-of-tree build
+OECMAKE_SOURCEPATH = "${S}"
+OECMAKE_BUILDPATH = "${WORKDIR}/build-${TARGET_ARCH}"
+
EXTRA_OECMAKE = "-DPYTHON_NUMPY_INCLUDE_DIR:PATH=${STAGING_LIBDIR}/${PYTHON_DIR}/site-packages/numpy/core/include \
-DBUILD_PYTHON_SUPPORT=ON \
-DWITH_FFMPEG=ON \
More information about the Openembedded-commits
mailing list