[oe-commits] [openembedded-core] 53/62: qemuarm: Add DTB file new kernel
git at git.openembedded.org
git at git.openembedded.org
Sat Sep 3 23:09:07 UTC 2016
rpurdie pushed a commit to branch master-next
in repository openembedded-core.
commit f22bb99f274ca0f54023431268e2df2d8d90e497
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Aug 30 23:56:38 2016 +0100
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 <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 34686cf..3ca4d6e 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)}"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list