[OE-core] [PATCH] lttng-ust: Turn examples into a packageconfig

Khem Raj raj.khem at gmail.com
Mon Dec 30 21:10:03 UTC 2019


examples are unbuildable in some cases, see [1]
this helps in making them optional via the newly addded
configure option in 2.11 release

[1] https://bugs.lttng.org/issues/1132
[2] https://patchwork.ozlabs.org/patch/832106/

Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 meta/recipes-kernel/lttng/lttng-ust_2.11.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.11.0.bb b/meta/recipes-kernel/lttng/lttng-ust_2.11.0.bb
index 6d7c05e65e..0e03a31652 100644
--- a/meta/recipes-kernel/lttng/lttng-ust_2.11.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-ust_2.11.0.bb
@@ -36,6 +36,7 @@ SRC_URI[sha256sum] = "683280cfe5e12021e64c32cef9eeb0128f1f23dec32ba28adb5a2074be
 
 CVE_PRODUCT = "ust"
 
+PACKAGECONFIG[examples] = "--enable-examples, --disable-examples,"
 PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages, asciidoc-native xmlto-native libxslt-native"
 PACKAGECONFIG[python3-agent] = "--enable-python-agent ${PYTHON_OPTION}, --disable-python-agent, python3, python3"
 
-- 
2.24.1



More information about the Openembedded-core mailing list