diff options
author | Samuel Martin <s.martin49@gmail.com> | 2014-08-31 22:09:03 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-09-21 22:46:52 +0200 |
commit | 547b3bb3371c3ea65d6e91126db5953032e92cbd (patch) | |
tree | d54cd758426801ac10aca6e87341f029259c81fe /package/opencv/Config.in | |
parent | 28ed63bae24f109907daab3ffa24edb8fb66d1ce (diff) | |
download | buildroot-547b3bb3371c3ea65d6e91126db5953032e92cbd.tar.gz buildroot-547b3bb3371c3ea65d6e91126db5953032e92cbd.zip |
opencv: rework V4L/libv4l support
Starting with the 2.4.7 release, for V4L support, OpenCV does not
requires a libv4l dependency for its V4L support.
So, it now provides 2 distincts knobs for this: WITH_V4L and a new
one: WITH_LIBV4L.
This patch takes advantage of this new knob and libv4l support is
now automatically enabled only if the libv4l package is enabled.
In OpenCV, the logic behind this is:
- using libv4l if available,
- otherwise, use v4l2 or v4l API from the kernel if available.
[Thomas: remove gratuituous reformating, as suggested by Yann.]
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/opencv/Config.in')
-rw-r--r-- | package/opencv/Config.in | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/package/opencv/Config.in b/package/opencv/Config.in index 3f5051ef12..24f540efbd 100644 --- a/package/opencv/Config.in +++ b/package/opencv/Config.in @@ -205,16 +205,10 @@ config BR2_PACKAGE_OPENCV_WITH_TIFF config BR2_PACKAGE_OPENCV_WITH_V4L bool "v4l support" - depends on BR2_LARGEFILE - depends on BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU # libv4l fork - select BR2_PACKAGE_LIBV4L help Enable Video 4 Linux support. -comment "v4l support needs a toolchain w/ largefile, threads" - depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS - depends on BR2_USE_MMU + If the package libv4l is enabled, its support is automatically enabled. comment "Install options" |