yocto-bsp: explicitly set preferred version for reference boards

When we are bumping the default kernel version for the qemu*
reference boards, but before the h/w reference boards have been
updated, we need to explicitly set the default kernel version
for those boards. Otherwise, we'll end up with warnings about
preferred versions of kernel modules not being available

(From meta-yocto rev: da27ca50eebf80463cb8d7b85f3b705254823413)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Bruce Ashfield
2020-12-28 22:28:25 -05:00
committed by Richard Purdie
parent dd4297f586
commit 2fa1648470

View File

@@ -5,6 +5,12 @@ BBPATH .= ":${LAYERDIR}"
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
${LAYERDIR}/recipes-*/*/*.bbappend"
PREFERRED_VERSION_linux-yocto_genericx86 ?= "5.8%"
PREFERRED_VERSION_linux-yocto_genericx86-64 ?= "5.8%"
PREFERRED_VERSION_linux-yocto_edgerouter ?= "5.8%"
PREFERRED_VERSION_linux-yocto_beaglebone-yocto ?= "5.8%"
BBFILE_COLLECTIONS += "yoctobsp"
BBFILE_PATTERN_yoctobsp = "^${LAYERDIR}/"
BBFILE_PRIORITY_yoctobsp = "5"