summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>2015-05-08 17:04:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-09 22:25:46 +0100
commit81636555fa7f18407efc172c0d5b9f466b2d4014 (patch)
treed9a61dccde4f7beb3b019800b5d1f6553a7f75cc
parent27ab6150f87bee605dc229a948e737a750559759 (diff)
downloadopenembedded-core-contrib-81636555fa7f18407efc172c0d5b9f466b2d4014.tar.gz
openembedded-core-contrib-81636555fa7f18407efc172c0d5b9f466b2d4014.tar.bz2
openembedded-core-contrib-81636555fa7f18407efc172c0d5b9f466b2d4014.zip
gstreamer1.0: convert GSTREAMER_1_DEBUG to PACKAGECONFIG
It is more elegant Suggested-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0.inc5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
index a01c33ce5f..17a0d7f839 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0.inc
@@ -9,11 +9,12 @@ DEPENDS = "glib-2.0 libxml2 bison-native flex-native"
inherit autotools pkgconfig gettext
-GSTREAMER_1_DEBUG ?= "--disable-debug"
+PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
+
EXTRA_OECONF = "--disable-docbook --disable-gtk-doc \
--disable-dependency-tracking --disable-check \
--disable-examples --disable-tests \
- --disable-valgrind ${GSTREAMER_1_DEBUG} \
+ --disable-valgrind \
"
RRECOMMENDS_${PN}_qemux86 += "kernel-module-snd-ens1370 kernel-module-snd-rawmidi"