qemuarm.conf: set PREFERRED_VERSION_linux-yocto
cover qemuarm.conf: set PREFERRED_VERSION_linux-yocto
The following changes since commit d48b9f13af440bad37de6056649e4451d2c3a92a:
gstreamer: do not attempt to run a plugin scanner during gtk-doc generation (2016-09-05 22:41:19 +0100)
are available in the git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/qemuarm
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/qemuarm
Robert Yang (1):
qemuarm.conf: set PREFERRED_VERSION_linux-yocto
meta/conf/machine/qemuarm.conf | 1 + 1 file changed, 1 insertion(+)
Signature · 1 line
2.9.0
PATCH 1/1 qemuarm.conf: set PREFERRED_VERSION_linux-yocto
The base_version_less_or_equal() will raise errors if PREFERRED_VERSION_linux-yocto is None. For example, when we build DISTRO = "nodistro", PREFERRED_VERSION_linux-yocto is not be defined since it is defined in poky.conf, and then bitbake will choose the higher version which is 4.8 currently, so set PREFERRED_VERSION_linux-yocto to 4.8, otherwise, runqemu can't boot it.
--- meta/conf/machine/qemuarm.conf | 1 + 1 file changed, 1 insertion(+)
meta/conf/machine/qemuarm.conf +1 -0
@@ -15,4 +15,5 @@ QB_SYSTEM_NAME = "qemu-system-arm" QB_MACHINE = "-machine versatilepb" QB_KERNEL_CMDLINE_APPEND = "console=ttyAMA0,115200 console=tty" QB_OPT_APPEND = "-show-cursor -usb -usbdevice tablet" +PREFERRED_VERSION_linux-yocto ??= "4.8%" QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"
Signature · 1 line
2.9.0