opencv3: use BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS

Opencv3 select python-numpy. To avoid duplicating architecture
dependencies, an hidden variable has been added to python-numpy
package. This patch propagate this modification to the opencv3
package.

Signed-off-by: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Reviewed-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gwenhael Goavec-Merou 2015-10-07 09:43:18 +02:00 committed by Thomas Petazzoni
parent bb9014b329
commit 6187c82a14

View File

@ -165,9 +165,7 @@ config BR2_PACKAGE_OPENCV3_LIB_PHOTO
config BR2_PACKAGE_OPENCV3_LIB_PYTHON config BR2_PACKAGE_OPENCV3_LIB_PYTHON
bool "python" bool "python"
depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3 depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \ depends on BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
|| BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
|| BR2_sh || BR2_x86_64 # python-numpy
select BR2_PACKAGE_PYTHON_NUMPY select BR2_PACKAGE_PYTHON_NUMPY
help help
Include opencv_python module into the OpenCV build. Include opencv_python module into the OpenCV build.