我正在使用yocto雏菊生成一个新的BSP.当我构建我的图像时,我收到以下警告:
NOTE: Resolving any missing task queue dependencies NOTE: multiple providers are available for virtual/kernel (my-kernel,linux-dummy) NOTE: consider defining a PREFERRED_PROVIDER entry to match virtual/kernel NOTE: multiple providers are available for runtime kernel-modules (my-kernel,linux-dummy) NOTE: consider defining a PREFERRED_PROVIDER entry to match kernel-modules
我无法理解如何为内核定义我的首选提供程序.根据我的阅读,我应该只需要将它添加到Meta-myLayer / conf / machine / myMachine.conf
我做了哪些,如此:
KERNEL_IMAGETYPE = "zImage" KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/myTree.dtb" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" # use this kernel and version PREFERRED_PROVIDER_virtual/kernel = "linux-yocto" PREFERRED_VERSION_linux-yocto = "3.14%"
Yocto / bitbake似乎忽略了这些线条.
另外,要清楚我还在build / conf / local.conf中正确设置了机器名
还有什么我需要改变才能让它发挥作用吗?或者是Yocto那个坏了吗?