diff mbox series

lttng-ust: Turn examples into a packageconfig

Message ID 20191230211003.2625107-1-raj.khem@gmail.com
State Accepted
Commit 37c9c50a00949442419173bcbdce8ee1714eed23
Headers show
Series lttng-ust: Turn examples into a packageconfig | expand

Commit Message

Khem Raj Dec. 30, 2019, 9:10 p.m. UTC
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@gmail.com>

---
 meta/recipes-kernel/lttng/lttng-ust_2.11.0.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.24.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

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"