]> code.ossystems Code Review - openembedded-core.git/commitdiff
lttng-ust: Turn examples into a packageconfig
authorKhem Raj <raj.khem@gmail.com>
Mon, 30 Dec 2019 21:10:03 +0000 (13:10 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 31 Dec 2019 11:17:12 +0000 (11:17 +0000)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/lttng/lttng-ust_2.11.0.bb

index 6d7c05e65e353c5eea78c4923de89ad1dd198504..0e03a316522cd4aa52e9afec47bd6729657561f6 100644 (file)
@@ -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"