Hi,
Bases on latest 6.1.22 release for imx8mp, I created my meta layer and recipes-kernel as the following
imx-6.1.22_2.0.0\sources\meta-my\recipes-kernel\linux\linux-imx_6.1+my.bb
the linux-imx_6.1+my.bb contains "require recipes-kernel/linux/linux-imx_6.1.bb"
The machine conf defined
PREFERRED_PROVIDER_virtual/kernel = "linux-imx"
PREFERRED_VERSION_linux-imx = "6.1+my"
The problem is that it will require "meta-freescale/recipes-kernel/linux/linux-imx_6.1.bb", and I need "meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_6.1.bb" for my imx8mp machine.
Can someone provide a way to solve that?
I tried the add BBMASK += "meta-freescale/recipes-kernel/linux/linux-imx_6.1.bb" but didn't help.
Changing the meta-my layer priority from 6 to 9 still didn't help.
Checked by "bitbake linux-imx -e" command
Many thanks.
Hello @chris_liuv,
I hope you are doing well.
One should refer to the section "Create a meta layer" from the below-given link, It will help you.
https://developer.toradex.com/linux-bsp/os-development/build-yocto/custom-meta-layers-recipes-and-im...
Please look into Section 3.5 Appending Other Layers Metadata With Your Layer.
https://docs.yoctoproject.org/dev/dev-manual/layers.html
It will help you.
Thanks & Regards,
Sanket Parekh