On Mon, Aug 05, 2019 at 12:42:11PM +0930, Andrew Jeffery wrote:
> 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

Shouldn't runtime dependencies on dtc already be autogenerated in this 
case when you have dtc in DEPENDS?

> Signed-off-by: Andrew Jeffery <and...@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"
>...

This should be a proper separate library package, so that applications 
depending on it stop pulling in the command line tools.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to