gst1-plugins-bad: add kernel header version dependency on DVB plugin
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 18 Jan 2016 21:01:09 +0000 (22:01 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 18 Jan 2016 21:03:17 +0000 (22:03 +0100)
The DVB plugin uses the FEC_2_5 and QAM_4_NR from the DVB API, which
were added only in kernel 3.7. This commit adds the necessary kernel
header version dependency, which fixes:

  http://autobuild.buildroot.net/results/fab7afc3490d77a6b29760394337298f2fd55d51/

Thanks to Peter Seiderer for the investigation!

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gstreamer1/gst1-plugins-bad/Config.in

index f557678eb94dd65b71635075f9ed6ccb445a4764..0aafea0985d0cb9940b8b07e587364f8150edb08 100644 (file)
@@ -651,9 +651,14 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_SNDFILE
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_DVB
        bool "dvb"
        select BR2_PACKAGE_DTV_SCAN_TABLES
+       # FEC_2_5 / QAM_4_NR definitions
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
        help
          DVB elements
 
+comment "dvb needs a toolchain w/ headers >= 3.7"
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_7
+
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_HLS
        bool "hls"
        select BR2_PACKAGE_GNUTLS