Skip to contentSkip to conversation

lttng-ust: Turn examples into a packageconfig

PATCH New Khem Raj 1 participant 1 message Dec 30, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 lttng-ust: Turn examples into a packageconfig

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/

---
 meta/recipes-kernel/lttng/lttng-ust_2.11.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-kernel/lttng/lttng-ust_2.11.0.bb +1 -0
index 6d7c05e65e..0e03a31652 100644
@@ -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"
 
Signature · 1 line
2.24.1