summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2025-03-10 09:12:02 +0800
committerSteve Sakoman <steve@sakoman.com>2025-03-15 06:40:08 -0700
commitd243dbc41b52d3bb5a6037c40aa0c502a1800b64 (patch)
tree918d76f421fa1824fde6cf09fc4084a03514d46c
parent1b87b3fefb07715511fef28593d098af5c1103f9 (diff)
downloadpoky-d243dbc41b52d3bb5a6037c40aa0c502a1800b64.tar.gz
babeltrace2: extend to nativesdk
This allows anyone using the SDK to be able to analyze the logs collected on target (From OE-Core rev: b00b0d744a1768843386cfd529b73cc17c88bec9) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r--meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb b/meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb
index d6c75d7580..bd6eb9ba1c 100644
--- a/meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb
+++ b/meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb
@@ -93,3 +93,15 @@ do_install_ptest () {
93 # Remove architechture specific testfiles 93 # Remove architechture specific testfiles
94 rm -rf ${D}${PTEST_PATH}/tests/data/plugins/flt.lttng-utils.debug-info/* 94 rm -rf ${D}${PTEST_PATH}/tests/data/plugins/flt.lttng-utils.debug-info/*
95} 95}
96
97do_install:append:class-nativesdk() {
98 mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
99 cat <<- EOF > ${D}${SDKPATHNATIVE}/environment-setup.d/babeltrace2.sh
100 export BABELTRACE_PLUGIN_PATH="${libdir}/babeltrace2/plugins"
101 export LIBBABELTRACE2_PLUGIN_PROVIDER_DIR="${libdir}/babeltrace2/plugin-providers"
102 EOF
103}
104
105FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/babeltrace2.sh"
106
107BBCLASSEXTEND = "nativesdk"