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,138件の閲覧回数
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,578件の閲覧回数
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 件の賞賛
返信