]> code.ossystems Code Review - openembedded-core.git/commit
kernel-fitimage.bbclass: Introduce a way to provide external dtb
authorManjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Wed, 20 Feb 2019 18:29:06 +0000 (10:29 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Feb 2019 23:04:09 +0000 (23:04 +0000)
commit084f4de4dbaf9821516fc0254d35f4fb04311d27
treecf91b693bc3f1e0c3debb4d19fde99c3e648586a
parenta705c0782c863ee960d65b5109168a4587a0a7b7
kernel-fitimage.bbclass: Introduce a way to provide external dtb

Currently kernel-fitimage gets the dtb from KERNEL_DEVICETREE, however
there are instances when the DTB file can be generated using other
recipes, provide a way to include the DTB instead of inkernel device
tree.

Add support for external device tree during the creation of fitimage.  If
virtual/dtb is set using PREFERRED_PROVIDER_virtual/dtb = "devicetree", which
inherits the devicetree.bbclass then use the path provided in
EXTERNAL_KERNEL_DEVICETREE else use KERNEL_DEVICETREE during fitimage process

Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/kernel-fitimage.bbclass