On Wed, 2021-01-06 at 17:02 +1100, JH wrote: > Hi, > > I replaced Linux kernel version from 4.19 by 5.10 bb file, but it > still built 4.19 zImage, I add PREFERRED_VERSION_linux-yocto = > "5.10%" > in local.conf, it still built 4.19 zImage. Where the linux kernel > version is defined in configure files? >
Is the PREFERRED_PROVIDER_virtual/kernel set to linux-yocto? You need to set the PREFERRED_VERSION for kernel that you are using ... bitbake -e virtual/kernel output should help see how it's being set and where. Thanks, Anuj
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#51888): https://lists.yoctoproject.org/g/yocto/message/51888 Mute This Topic: https://lists.yoctoproject.org/mt/79469796/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
