mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 03:32:12 +02:00
devicetree.bbclass: Add virtual provider for dtb
Add virtual provider for dtb. This class can be used to generate dtb from static devicetree, for reference see meta-xilinx layer meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb By providing a virtual provider we can use it to differentiate between in-kernel dtb or an external one. This can be set in local.conf as PREFERRED_PROVIDER_virtual/dtb = "devicetree" (From OE-Core rev: a7d52dbffd0da95de82d910c595a6c27d9b2ad0d) Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
366fe3d01e
commit
7bf275b54e
@@ -27,6 +27,8 @@ inherit deploy kernel-arch
|
||||
|
||||
COMPATIBLE_MACHINE ?= "^$"
|
||||
|
||||
PROVIDES = "virtual/dtb"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
SYSROOT_DIRS += "/boot/devicetree"
|
||||
|
||||
Reference in New Issue
Block a user