Hi,
I have a recipe - test-py.bb - that contains:
BBCLASSEXTEND = "native nativesdk".
FILES:${PN} += " one.py two.py"
do_install() {
install -D ${WORKDIR}/git/Core/scripts/one.py "${D}$bindir}/one.py"
install -D ${WORKDIR}/git/Core/scripts/two.py "${D}$bindir}/two.py"
}
I want to have those python files made available in the $PATH of the esdk. So
in the local.conf I have:
TOOLCHAIN_HOST_TASK_ESDK += " nativesdk-test-py "
I build the full version of the esdk.
I install the eSDK and run "devtool sdk-install test-py"
I do a search but I cannot find one.py/two.py anywhere in the esdk install.
I notice that Yocto is not generating a nativesdk-test-py recipe under
work/tmp/x86_64-nativesdk-pokysdk-linux. I though this was the purpose of
adding nativesdk with BBCLASSEXTEND?
I notice that populate_sdk_ext.bbclass hardcodes the TOOLCHAIN_HOST_TASK_ESDK
variable to meta-environment-extsdk-${MACHINE}. Surely this is overwriting any
values I use the local.conf.
I don't fully understand the meta-environment-extsdk.bb mechanism but I get the
impression this is the key to adding something to the esdk?
Also is there a way to confirm which packages have been added to the esdk? It
seems to be obfuscated behind the meta-environment-extsdk recipe.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#186071):
https://lists.openembedded.org/g/openembedded-core/message/186071
Mute This Topic: https://lists.openembedded.org/mt/100759936/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-