[oe-commits] [openembedded-core] 36/39: devicetree.bbclass: Add virtual provider for dtb

git at git.openembedded.org git at git.openembedded.org
Thu Feb 21 13:59:03 UTC 2019


This is an automated email from the git hooks/post-receive script.

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

commit 6a0d506edde7b13e5742e4741a61ab4a20fb5ed8
Author: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
AuthorDate: Wed Feb 20 10:29:05 2019 -0800

    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"
    
    Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha at xilinx.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/devicetree.bbclass | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/devicetree.bbclass b/meta/classes/devicetree.bbclass
index 8fe5a5e..e1f3779 100644
--- a/meta/classes/devicetree.bbclass
+++ b/meta/classes/devicetree.bbclass
@@ -27,6 +27,8 @@ inherit deploy kernel-arch
 
 COMPATIBLE_MACHINE ?= "^$"
 
+PROVIDES = "virtual/dtb"
+
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 SYSROOT_DIRS += "/boot/devicetree"

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


More information about the Openembedded-commits mailing list