Machine outside of meta-st, append specific layers to bblayer.conf
Hi,
In the Distribution Package, I have created a new machine inside my own layer. I'm running the environment script like this:
MACHINE=stm32mp1-my_machine DISTRO=openstlinux-eglfs source layers/meta-st/scripts/envsetup.shHowever, it's not possible to use the bitbake command after running the script as the bblayer.conf file is missing theese 3 layers:
- meta-openembedded/meta-oe
- meta-openembedded/meta-python
- meta-st/meta-st-stm32mp-addons
The problem is solved and I can use bitbake when I add them manually to BBLAYERS inside bblayer.conf. However, I would like to do this automatically. The regular way to add a layer is to use:
bitbake-layers add-layer /layers/meta-my-layerBut as explained, bitbake doesn't work before adding the missing layers.
I have tried to run:
MACHINE=stm32mp1-my_machine DISTRO=openstlinux-eglfs BSP_DEPENDENCY='/OpenSTLinux/Distribution-Package/openstlinux-5.10-dunfell-mp1-21-03-31/layers/meta-st/meta-st-stm32mp-addons /OpenSTLinux/Distribution-Package/openstlinux-5.10-dunfell-mp1-21-03-31/layers/meta-openembedded/meta-python /OpenSTLinux/Distribution-Package/openstlinux-5.10-dunfell-mp1-21-03-31/layers/meta-openembedded/meta-oe' source layers/meta-st/scripts/envsetup.shBut unfortunately it didn't solve the problem. I want to do this from the terminal without modifying bblayer.conf manually. Do you have any suggestion on how to do it automatically from the terminal?
