gstreamer1: add config option for building unit test libraries
authorPeter Seiderer <ps.report@gmx.net>
Fri, 27 Oct 2017 17:16:21 +0000 (19:16 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 3 Dec 2017 22:49:25 +0000 (23:49 +0100)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[Thomas: remove "default n", simplify option prompt.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/gstreamer1/gstreamer1/Config.in
package/gstreamer1/gstreamer1/gstreamer1.mk

index 274171b639210682a3e8c89f1528884842b02889..3d6b1b967521a4c24b5e947cf094fd0cd7a147c7 100644 (file)
@@ -16,6 +16,11 @@ config BR2_PACKAGE_GSTREAMER1
 
 if BR2_PACKAGE_GSTREAMER1
 
+config BR2_PACKAGE_GSTREAMER1_CHECK
+       bool "enable unit test libraries"
+       help
+         Enable building unit test libraries for gstreamer.
+
 config BR2_PACKAGE_GSTREAMER1_PARSE
        bool "enable command-line parser"
        default y
index 723e59b208547e1813d5149eada42c9099634653..c2da60182a13954803f57e74c0b8526cc8e125b0 100644 (file)
@@ -17,7 +17,7 @@ GSTREAMER1_CONF_OPTS = \
        --disable-failing-tests \
        --disable-valgrind \
        --disable-benchmarks \
-       --disable-check \
+       $(if $(BR2_PACKAGE_GSTREAMER1_CHECK),,--disable-check) \
        $(if $(BR2_PACKAGE_GSTREAMER1_TRACE),,--disable-trace) \
        $(if $(BR2_PACKAGE_GSTREAMER1_PARSE),,--disable-parse) \
        $(if $(BR2_PACKAGE_GSTREAMER1_GST_DEBUG),,--disable-gst-debug) \