mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
e36a3eccb5
commit
be8263f9af
@@ -93,3 +93,15 @@ do_install_ptest () {
|
||||
# Remove architechture specific testfiles
|
||||
rm -rf ${D}${PTEST_PATH}/tests/data/plugins/flt.lttng-utils.debug-info/*
|
||||
}
|
||||
|
||||
do_install:append:class-nativesdk() {
|
||||
mkdir -p ${D}${SDKPATHNATIVE}/environment-setup.d
|
||||
cat <<- EOF > ${D}${SDKPATHNATIVE}/environment-setup.d/babeltrace2.sh
|
||||
export BABELTRACE_PLUGIN_PATH="${libdir}/babeltrace2/plugins"
|
||||
export LIBBABELTRACE2_PLUGIN_PROVIDER_DIR="${libdir}/babeltrace2/plugin-providers"
|
||||
EOF
|
||||
}
|
||||
|
||||
FILES:${PN}:append:class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/babeltrace2.sh"
|
||||
|
||||
BBCLASSEXTEND = "nativesdk"
|
||||
|
||||
Reference in New Issue
Block a user