ERROR: Multiple .bb files are due to be built which each provide virtual/kernel

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

ERROR: Multiple .bb files are due to be built which each provide virtual/kernel

2,226 次查看
yaşarcani_tişge
Contributor II

Hello,

I want to build only the kernel

I run this command

  • fsl-community-bsp# source setup-environment

then

  • fsl-community-bsp/build# bitbake linux-imx

And ı get the error:

  • ERROR: Multiple .bb files are due to be built which each provide virtual/kernel (/usr/IMX/fsl-community-bsp-new/sources/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.14.52.bb /usr/IMX/fsl-community-bsp-new/sources/meta-fsl-arm/recipes-kernel/linux/linux-fslc-imx_3.14-1.1.x.bb). This usually means one provides something the other doesn't and should.
How can ı solve this problem?Thank you. Yaşarcan 
标签 (3)
0 项奖励
回复
1 回复

1,666 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Hello Yaşarcan İtişgen,

This seems to be caused by too many providers for the kernel on the build environment. What MACHINE do you have setup on the local.conf file?

I would review the “PROVIDES” dependencies better on your recipes. There is some more information on the Open Embedded User Manual (link below). Perhaps you may try with “RPROVIDES” and then the distro/machine would select which virtual/kernel it wants.

http://docs.openembedded.org/usermanual/usermanual.html

You can select the kernel recipe using something like:                   

PREFERRED_PROVIDER_virtual/kernel="<KERNEL_RECIPE>"

I hope this information helps!

Regards,

0 项奖励
回复