diff options
| author | Changqing Li <changqing.li@windriver.com> | 2025-03-06 15:36:08 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-03-07 11:13:24 +0000 |
| commit | be8263f9afa008f62dc3c78f1b87b7f669b55128 (patch) | |
| tree | 0350152c338edd57d46786f819ef104f5cdb531b | |
| parent | e36a3eccb545940424aadd3f59f7cf24cf35fe0a (diff) | |
| download | poky-be8263f9afa008f62dc3c78f1b87b7f669b55128.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: 760e6d7467a55aa98316310c68a95b94ccd0bf20)
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-kernel/lttng/babeltrace2_2.0.6.bb | 12 |
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 a50ba8fcdf..6a0052f779 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 | |||
| 97 | do_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 | |||
| 105 | FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/babeltrace2.sh" | ||
| 106 | |||
| 107 | BBCLASSEXTEND = "nativesdk" | ||
