summaryrefslogtreecommitdiffstats
path: root/package/opencv/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/opencv/Config.in')
-rw-r--r--package/opencv/Config.in12
1 files changed, 11 insertions, 1 deletions
diff --git a/package/opencv/Config.in b/package/opencv/Config.in
index 877ddda912..576f66787a 100644
--- a/package/opencv/Config.in
+++ b/package/opencv/Config.in
@@ -85,7 +85,17 @@ config BR2_PACKAGE_OPENCV_LIB_PHOTO
Include opencv_photo (computational photography) module into the OpenCV
build.
-comment "opencv_python module requires numpy which is not yet available."
+config BR2_PACKAGE_OPENCV_LIB_PYTHON
+ bool "python"
+ depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
+ depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
+ || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
+ || BR2_sh || BR2_x86_64 # python-numpy
+ depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_i386 || BR2_x86_64 # python-numpy
+ select BR2_PACKAGE_PYTHON_NUMPY
+ help
+ Include opencv_python module into the OpenCV build.
+ No python example is installed.
config BR2_PACKAGE_OPENCV_LIB_SHAPE
bool "shape"
OpenPOWER on IntegriCloud