From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.stusta.mhn.de (mail.stusta.mhn.de [141.84.69.5]) by mail.openembedded.org (Postfix) with ESMTP id 5B1557E797 for ; Mon, 5 Aug 2019 05:04:59 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.stusta.mhn.de (Postfix) with ESMTPSA id 4625L30zmDz4s; Mon, 5 Aug 2019 07:04:56 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stusta.de; s=default; t=1564981500; bh=YmQtDoJ6d989y/GgORpH7biCDfaak3xQyBXeevMguY8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=eP955ewPwewXmZhIZQxmKtrGij4n3u/ajNhsZ+zu9V5izt9YDBCFBv7ITBAkBV0lA RhbIx3WbM6zrvtckj3V8d37lT39E1nzwsjLkEmXcw+MNCi1/gt/vLQ5gjCWxPnDzwG JsGk32t6Me/Pt50aqIrabhd/gKT38RItSQ6FGtRHw/egm7xW81hXGrkE/mySZxmcY2 /SB3U5TP5RByp/pXYzXIvgA9cJb7ASeQcGfMAJYGl+HAe4r7z0oP6G5kXCGIpLxQyr hXbKLkkSJUIf1AnXjaT4aTyB+iiUnXoekE5BqHN4qWTpd2vMhdL+6Rz8kfAQwk04IU 4Zx/zG23TiuOIQ1A9wWfaViKMIZ+J6vAxmyFhd1+6TA4VQOSM+2ttQ1WFgRkAIEPzA dBSbUkGF3CmLcH+or9DDvjbhxelif49kIhMg3z1wT4GVaoHdqslkCzkRC8+25bpk8E vgt+0tOook3qsUAjlmHGiBpB48yXRMC7L9wMlt9B2UNu2zmYVof/vv1tY52P4fNXWO h6Ytlq2lAGfQK6LhO2D35GJXimefGtX7qrrnfE3JwWVDI1IQgHuD5gSd383DBUjJAX MMlZgIXtbK7SKljpbjSykuLRInCrEPpS5PLE8F5YCQonbCT417lrcZTndTQrer2PEq Nd0UZewhqXKrIh4wbX+RsTr0= Date: Mon, 5 Aug 2019 08:04:55 +0300 From: Adrian Bunk To: Andrew Jeffery Message-ID: <20190805050455.GA4799@localhost> References: <20190805031211.11190-1-andrew@aj.id.au> MIME-Version: 1.0 In-Reply-To: <20190805031211.11190-1-andrew@aj.id.au> User-Agent: Mutt/1.10.1 (2018-07-13) Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH] dtc: Provide libfdt X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Aug 2019 05:05:00 -0000 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline 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 > --- > 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