From 29458dca787106112ad66f8e6178ed530241b999 Mon Sep 17 00:00:00 2001 From: Peter Seiderer Date: Fri, 27 Oct 2017 19:16:21 +0200 Subject: [PATCH] gstreamer1: add config option for building unit test libraries Signed-off-by: Peter Seiderer [Thomas: remove "default n", simplify option prompt.] Signed-off-by: Thomas Petazzoni --- package/gstreamer1/gstreamer1/Config.in | 5 +++++ package/gstreamer1/gstreamer1/gstreamer1.mk | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package/gstreamer1/gstreamer1/Config.in b/package/gstreamer1/gstreamer1/Config.in index 274171b639..3d6b1b9675 100644 --- a/package/gstreamer1/gstreamer1/Config.in +++ b/package/gstreamer1/gstreamer1/Config.in @@ -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 diff --git a/package/gstreamer1/gstreamer1/gstreamer1.mk b/package/gstreamer1/gstreamer1/gstreamer1.mk index 723e59b208..c2da60182a 100644 --- a/package/gstreamer1/gstreamer1/gstreamer1.mk +++ b/package/gstreamer1/gstreamer1/gstreamer1.mk @@ -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) \ -- 2.30.2