opencv3: use BR2_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
authorGwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Wed, 7 Oct 2015 07:43:18 +0000 (09:43 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Fri, 9 Oct 2015 20:56:31 +0000 (22:56 +0200)
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>
package/opencv3/Config.in

index 9492603b0dbaaf3b5fd6495aebef7668ed7d1c5c..2f51580e16accf7c11d0fe3cc07f909059820e31 100644 (file)
@@ -165,9 +165,7 @@ config BR2_PACKAGE_OPENCV3_LIB_PHOTO
 config BR2_PACKAGE_OPENCV3_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_PACKAGE_PYTHON_NUMPY_ARCH_SUPPORTS
        select BR2_PACKAGE_PYTHON_NUMPY
        help
          Include opencv_python module into the OpenCV build.