From: Richard Purdie Date: Tue, 30 Aug 2016 22:56:38 +0000 (+0100) Subject: qemuarm: Add DTB file new kernel X-Git-Tag: uninative-1.4~215 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4615764509234bfb206ffe4cd430653b88d46ec3;p=openembedded-core.git qemuarm: Add DTB file new kernel For kernels after 4.7, we need to ensure the DTB file for the kernel is used by runqemu. Doing this conditionally based upon the kernel verison being built seems to be the only way forward for this. Signed-off-by: Richard Purdie --- diff --git a/meta/conf/machine/qemuarm.conf b/meta/conf/machine/qemuarm.conf index 34686cfe97..3ca4d6e462 100644 --- a/meta/conf/machine/qemuarm.conf +++ b/meta/conf/machine/qemuarm.conf @@ -15,3 +15,4 @@ 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" +QB_DTB = "${@base_version_less_or_equal('PREFERRED_VERSION_linux-yocto', '4.7', '', 'zImage-versatile-pb.dtb', d)}"