gstreamer1.0: Make check selectable via PACKAGECONFIG

This way, this configuration can be easily changed via .bbappend file
without having to re-define the whole EXTRA_OECONF.

With --disable-check  libgstcheck is not build.

(From OE-Core rev: b964917c7c75c637f64389363d566f57487a14da)

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ricardo Ribalda Delgado
2015-05-08 17:04:14 +02:00
committed by Richard Purdie
parent 5ac3e9122b
commit ccd0bed545

View File

@@ -10,9 +10,10 @@ DEPENDS = "glib-2.0 libxml2 bison-native flex-native"
inherit autotools pkgconfig gettext
PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
PACKAGECONFIG[check] = "--enable-check,--disable-check"
EXTRA_OECONF = "--disable-docbook --disable-gtk-doc \
--disable-dependency-tracking --disable-check \
--disable-dependency-tracking \
--disable-examples --disable-tests \
--disable-valgrind \
"