[OE-core] [PATCH] dtc: Provide libfdt

Andrew Jeffery andrew at aj.id.au
Mon Aug 5 03:12:11 UTC 2019


Applications are appearing that depend on parsing flattened devicetree
in userspace on target devices, e.g. pdbg[1]. Mark dtc as providing
libfdt so application recipes can depend on it.

[1] https://github.com/open-power/pdbg

Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 meta/recipes-kernel/dtc/dtc.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-kernel/dtc/dtc.inc b/meta/recipes-kernel/dtc/dtc.inc
index 0650e3c82e6d..d55c8af90660 100644
--- a/meta/recipes-kernel/dtc/dtc.inc
+++ b/meta/recipes-kernel/dtc/dtc.inc
@@ -5,6 +5,8 @@ SECTION = "bootloader"
 LICENSE = "GPLv2 | BSD"
 DEPENDS = "flex-native bison-native"
 
+PROVIDES += "libfdt"
+
 SRC_URI = "git://git.kernel.org/pub/scm/utils/dtc/dtc.git \
            file://make_install.patch \
            "
-- 
2.20.1



More information about the Openembedded-core mailing list