From 2fa16484703f934061be399ea7bd07fa671e6caa Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 28 Dec 2020 22:28:25 -0500 Subject: 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 Signed-off-by: Richard Purdie --- meta-yocto-bsp/conf/layer.conf | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta-yocto-bsp/conf/layer.conf b/meta-yocto-bsp/conf/layer.conf index bf0c1bfece..eb9f55ea97 100644 --- a/meta-yocto-bsp/conf/layer.conf +++ b/meta-yocto-bsp/conf/layer.conf @@ -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" -- cgit v1.2.3-54-g00ecf