2020-12-08 02:44 AM
Hello
I switched to the Distribution package to have access to the layers provided by ST.
After I use command repo sync I, a file named layer is created.
When I:
DISTRO=openstlinux-weston MACHINE=stm32mp1-disco source layers/meta-st/scripts/envsetup.sh
I get the following error
[source layers/openembedded-core/oe-init-build-env][from nothing]
Error: The OE SDK/ADT was detected as already being present in this shell environment. Please use a clean shell when sourcing this environment script.
How can I clean the shell environment ?
Solved! Go to Solution.
2020-12-08 04:28 AM
Hi @SigmaPrime
Indeed you can not use Distribution in a shell you initially source the SDK for Developer package.
Simple way is just to open a new shell terminal.
Olivier
2020-12-08 04:28 AM
Hi @SigmaPrime
Indeed you can not use Distribution in a shell you initially source the SDK for Developer package.
Simple way is just to open a new shell terminal.
Olivier
2020-12-08 04:30 AM
Oh I get it now!
I misread your comment
Thank you
2021-05-11 08:01 PM
I also had the same error and recovered by opening a new terminal. Thank you