python-numpy: re-enable for uClibc
authorArnout Vandecappelle <arnout@mind.be>
Sun, 4 Oct 2015 15:34:41 +0000 (16:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 4 Oct 2015 16:50:14 +0000 (17:50 +0100)
In commit b0f025386f6861fdc21e38e3a33b65669276f2c2 a patch was added
to make sure that python-numpy does work in uClibc. This patch was
needed for the x86 architecture, because uClibc in fact does support
fenv for x86. However, we don't turn on this support in our uClibc
config. Because the Config.in depends still allowed uClibc for x86,
this lead to a built failure, which lead to the fix in commit b0f02538.
But since this fix also fixes it for all other (supported)
architectures, we can just remove the !uClibc dependency completely.

This is also propagated to the reverse dependency in opencv3.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Cc: Gwenhael Goavec-Merou <gwenhael.goavec-merou@trabucayre.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/opencv3/Config.in
package/python-numpy/Config.in

index 934d546e0513ffbe281eccd95b020c79696631d1..9492603b0dbaaf3b5fd6495aebef7668ed7d1c5c 100644 (file)
@@ -168,7 +168,6 @@ config BR2_PACKAGE_OPENCV3_LIB_PYTHON
        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.
index 1f9938a32990e8a45228cb1b1ba9ddf3ea98df0a..f8170f8fd16e70bb63fe0444b3cf92b077868588 100644 (file)
@@ -4,9 +4,6 @@ config BR2_PACKAGE_PYTHON_NUMPY
        depends on BR2_aarch64 || BR2_arm || BR2_armeb || BR2_i386 \
                || BR2_mips || BR2_mipsel || BR2_powerpc || BR2_powerpc64 \
                || BR2_sh || BR2_x86_64
-       # numpy needs fenv.h. Available for all architectures in
-       # glibc, but only for x86 and x86-64 in uClibc.
-       depends on !BR2_TOOLCHAIN_USES_UCLIBC || BR2_i386 || BR2_x86_64
        help
          NumPy is the fundamental package for scientific computing
          with Python.