Commit d5c24ee3 authored by Samuel Martin's avatar Samuel Martin Committed by Peter Korsgaard
Browse files

opencv: need threads support

Because the opencv_core module needs threads support, just globally
disable the whole opencv package if the toolchain does not offer this
support.

Fixes:
  http://autobuild.buildroot.org/results/8dd/8dd1674674018a931ba09cc5b414c32360e51692/build-end.log



Signed-off-by: default avatarSamuel Martin <s.martin49@gmail.com>
Signed-off-by: default avatarPeter Korsgaard <peter@korsgaard.com>
parent 85e904ba
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
menuconfig BR2_PACKAGE_OPENCV
	bool "opencv"
	select BR2_PACKAGE_ZLIB
	depends on BR2_TOOLCHAIN_HAS_THREADS
	depends on BR2_INSTALL_LIBSTDCPP
	depends on BR2_USE_WCHAR
	help
@@ -208,5 +209,5 @@ config BR2_PACKAGE_OPENCV_INSTALL_DATA

endif # BR2_PACKAGE_OPENCV

comment "opencv needs a toolchain w/ C++, wchar"
	depends on !(BR2_INSTALL_LIBSTDCPP  && BR2_USE_WCHAR)
comment "opencv needs a toolchain w/ C++, threads, wchar"
	depends on !(BR2_INSTALL_LIBSTDCPP  && BR2_USE_WCHAR && BR2_TOOLCHAIN_HAS_THREADS)