mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 14:16:31 +00:00
opencv: cleanup depends and comments
Since the opencv package globally depends on BR2_TOOLCHAIN_HAS_THREADS and BR2_USE_WCHAR, then cleanup these redundant (and useless) dependencies in the opencv's sub-options. Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
d5c24ee3cd
commit
5f7cbb264e
@ -140,20 +140,13 @@ comment "ffmpeg support needs a toolchain w/ largefile, IPv6"
|
|||||||
|
|
||||||
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
|
config BR2_PACKAGE_OPENCV_WITH_GSTREAMER
|
||||||
bool "gstreamer support"
|
bool "gstreamer support"
|
||||||
depends on BR2_USE_WCHAR # gstreamer -> libglib2
|
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # gstreamer -> libglib2
|
|
||||||
select BR2_PACKAGE_GSTREAMER
|
select BR2_PACKAGE_GSTREAMER
|
||||||
select BR2_PACKAGE_GST_PLUGINS_BASE
|
select BR2_PACKAGE_GST_PLUGINS_BASE
|
||||||
select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
|
select BR2_PACKAGE_GST_PLUGINS_BASE_PLUGIN_APP
|
||||||
|
|
||||||
comment "gstreamer support needs a toolchain w/ wchar, threads"
|
|
||||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
|
||||||
|
|
||||||
config BR2_PACKAGE_OPENCV_WITH_GTK
|
config BR2_PACKAGE_OPENCV_WITH_GTK
|
||||||
bool "gtk support"
|
bool "gtk support"
|
||||||
depends on BR2_PACKAGE_XORG7
|
depends on BR2_PACKAGE_XORG7
|
||||||
depends on BR2_USE_WCHAR # libgtk2 -> libglib2
|
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libgtk2 -> libglib2
|
|
||||||
depends on BR2_INSTALL_LIBSTDCPP
|
depends on BR2_INSTALL_LIBSTDCPP
|
||||||
select BR2_PACKAGE_LIBGTK2
|
select BR2_PACKAGE_LIBGTK2
|
||||||
|
|
||||||
@ -188,13 +181,12 @@ config BR2_PACKAGE_OPENCV_WITH_TIFF
|
|||||||
config BR2_PACKAGE_OPENCV_WITH_V4L
|
config BR2_PACKAGE_OPENCV_WITH_V4L
|
||||||
bool "v4l support"
|
bool "v4l support"
|
||||||
depends on BR2_LARGEFILE
|
depends on BR2_LARGEFILE
|
||||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
||||||
select BR2_PACKAGE_LIBV4L
|
select BR2_PACKAGE_LIBV4L
|
||||||
help
|
help
|
||||||
Enable Video 4 Linux support.
|
Enable Video 4 Linux support.
|
||||||
|
|
||||||
comment "v4l support needs a toolchain w/ largefile, threads"
|
comment "v4l support needs a toolchain w/ largefile"
|
||||||
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS
|
depends on !BR2_LARGEFILE
|
||||||
|
|
||||||
comment "Install options"
|
comment "Install options"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user