opencv: mark as not available on Xtensa
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 8 Aug 2015 15:16:19 +0000 (17:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 8 Aug 2015 15:16:19 +0000 (17:16 +0200)
OpenCV currently does not build on Xtensa due to compiler/assembler
issues:

  Error: operand 2 of 'l32r' has out of range value '4294632228'

Until this gets fixed, let's disable OpenCV on Xtensa.

Temporarily works around:

   http://autobuild.buildroot.net/results/0be/0bed0779685d9ed83466a4d29a0281ca93043a2e/

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/opencv/Config.in

index 0b5d1acb6611ed195ddc7ec74d698852c30676ee..a52092dc445dbdcb1c13d079c42fd0ab6a10e48a 100644 (file)
@@ -5,6 +5,8 @@ menuconfig BR2_PACKAGE_OPENCV
        depends on BR2_INSTALL_LIBSTDCPP
        depends on BR2_USE_WCHAR
        depends on !BR2_STATIC_LIBS # include dlfcn.h
+       # Causes some toolchain failures on Xtensa
+       depends on !BR2_xtensa
        help
          OpenCV (Open Source Computer Vision) is a library of programming
          functions for real time computer vision.
@@ -334,6 +336,7 @@ config BR2_PACKAGE_OPENCV_INSTALL_DATA
 endif # BR2_PACKAGE_OPENCV
 
 comment "opencv needs a toolchain w/ C++, NPTL, wchar, dynamic library"
+       depends on !BR2_xtensa
        depends on !BR2_INSTALL_LIBSTDCPP || \
                !BR2_USE_WCHAR || \
                !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \