[bitbake-devel] [PATCH 2/2] gstreamer1.0-plugins.inc: Define a PACKAGECONFIG for examples

Peter Kjellerstedt peter.kjellerstedt at axis.com
Thu Dec 7 14:38:32 UTC 2017


This makes it consistent with, e.g., debug, that can be
enabled/disabled using a PACKAGECONFIG.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
---
 meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
index c40d398911..32846165c1 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
@@ -19,15 +19,12 @@ require gst-plugins-package.inc
 GSTREAMER_ORC ?= "orc"
 
 PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
+PACKAGECONFIG[examples] = "--enable-examples,--disable-examples"
 PACKAGECONFIG[orc] = "--enable-orc,--disable-orc,orc orc-native"
 PACKAGECONFIG[valgrind] = "--enable-valgrind,--disable-valgrind,valgrind"
 
 export ORCC = "${STAGING_DIR_NATIVE}${bindir}/orcc"
 
-EXTRA_OECONF = " \
-    --disable-examples \
-"
-
 delete_pkg_m4_file() {
 	# This m4 file is out of date and is missing PKG_CONFIG_SYSROOT_PATH tweaks which we need for introspection
 	rm "${S}/common/m4/pkg.m4" || true
-- 
2.12.0




More information about the bitbake-devel mailing list