Yocto: "require recipes-kernel/linux/linux-imx_6.1.bb" wrong

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Yocto: "require recipes-kernel/linux/linux-imx_6.1.bb" wrong

574 次查看
chris_liuv
Contributor III

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.

 

0 项奖励
回复
1 回复

556 次查看
Sanket_Parekh
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复