diff --git a/package/opencv/Config.in b/package/opencv/Config.in index d06135cedf..05c1fc1571 100644 --- a/package/opencv/Config.in +++ b/package/opencv/Config.in @@ -58,9 +58,13 @@ config BR2_PACKAGE_OPENCV_LIB_GPU select BR2_PACKAGE_OPENCV_LIB_OBJDETECT select BR2_PACKAGE_OPENCV_LIB_PHOTO select BR2_PACKAGE_OPENCV_LIB_VIDEO + depends on !BR2_STATIC_LIBS help Include opencv_gpu module into the OpenCV build. +comment "gpu module needs a toolchain w/ dynamic libraries" + depends on BR2_STATIC_LIBS + config BR2_PACKAGE_OPENCV_LIB_HIGHGUI bool "highgui" default y @@ -168,13 +172,21 @@ config BR2_PACKAGE_OPENCV_LIB_VIDEOSTAB help Include opencv_videostab module into the OpenCV build. +if !BR2_STATIC_LIBS + comment "Test sets" + config BR2_PACKAGE_OPENCV_BUILD_TESTS bool "build tests" config BR2_PACKAGE_OPENCV_BUILD_PERF_TESTS bool "build performance tests" +endif + +comment "Tests sets need a toolchain w/ dynamic libraries" + depends on BR2_STATIC_LIBS + comment "3rd party support" config BR2_PACKAGE_OPENCV_WITH_FFMPEG