Re: Move device tree generation from include file to bbclass
Bruce Ashfield <bruce.ashfield@...>
On 2015-04-15 08:33 AM, Bach, Pascal wrote:
HiAdding oe-core, since that's the right place to have a discussion like
As ARM now also moved to device tree it look like in future we will have more kernels that are using device tree then ones that are not.True, but it has been like this for quite some time now :)
As far as I understand currently the generation of device trees is controlled via KERNEL_DEVICETREE and is handled in via an include file recipes-kernel/linux/linux-dtb.inc.The big trick with changing anything like this is compatibility with
existing recipes. Whatever we do, existing recipes and layers shouldn't
be broken .. or if they are broken, there should be a compelling
technical reason to do so.
That's pretty much the experience that most users have now, since
there's nearly always a kernel recipe created, that recipe includes
linux-dtb.inc, and sets KERNEL_DEVICETREE.
Everything else happens to build and package the device tree.
Was there something specifically that was causing issues with the
current way of building them ?