gst1-plugins-good: v4l2 plugin needs kernel headers 3.0+
authorPeter Korsgaard <peter@korsgaard.com>
Fri, 15 Aug 2014 16:50:34 +0000 (18:50 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Fri, 15 Aug 2014 16:50:34 +0000 (18:50 +0200)
Fixes http://autobuild.buildroot.net/results/284/284313e660c3c9fad891fd71aa56ca5751946dc6/

For the multi planar api (mp_pix). It was actually added in 2.6.39 (commit
f8f3914cf9), but we only have symbols for 3.x kernels, so use 3.0 instead.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/gstreamer1/gst1-plugins-good/Config.in

index 7159c5a0a34e3d04bd85da45f77a1486bbe84e56..65dc7b177f665c54c8714b2458fb3b4a4d4fe0cd 100644 (file)
@@ -269,9 +269,13 @@ config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_OSS4
 
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_V4L2
        bool "v4l2"
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # multi planar api
        help
          elements for Video 4 Linux
 
+comment "v4l2 needs toolchain w/ headers >= 3.0"
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+
 config BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_CAIRO
        bool "cairo"
        select BR2_PACKAGE_CAIRO