[oe-commits] [openembedded-core] 18/66: qemuarm.conf: set PREFERRED_VERSION_linux-yocto

git at git.openembedded.org git at git.openembedded.org
Wed Sep 7 23:38:22 UTC 2016


rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit b936f5b1b8c5d098707fc4231e9e0aa3cfa05ef3
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Mon Sep 5 23:15:05 2016 -0700

    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.
    
    Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/conf/machine/qemuarm.conf | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf
index 3ca4d6e..4c5891a 100644
--- a/meta/conf/machine/qemuarm.conf
+++ b/meta/conf/machine/qemuarm.conf
@@ -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)}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list