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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

1,800 Views
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 
Labels (3)
0 Kudos
1 Reply

1,240 Views
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 Kudos