[OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts files to build

2023-04-21 Thread Petr Kubizňák
Add DT_FILES variable to allow the user of the class to select specific dts files to build. This is useful for packages featuring dts files for multiple machines. Since many machine configs contain a list of dtb files (e.g. KERNEL_DEVICETREE), DT_FILES works with both dts and dtb files. Signed-of

Re: [OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts files to build

2023-04-21 Thread Nathan Rossi
On Fri, 21 Apr 2023 at 18:41, Petr Kubizňák wrote: > > Add DT_FILES variable to allow the user of the class to select specific > dts files to build. This is useful for packages featuring dts files > for multiple machines. > > Since many machine configs contain a list of dtb files > (e.g. KERNEL_DE

Re: [OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts files to build

2023-04-21 Thread Petr Kubizňák
t in general, I expect a list of dtb files will be much more common. Kind Regards, Petr From: Nathan Rossi Sent: Friday, April 21, 2023 1:44 PM To: Petr Kubizňák - 2N Cc: openembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH v2] devicetre

Re: [OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts files to build

2023-04-21 Thread Petr Kubizňák
nembedded-core@lists.openembedded.org Subject: Re: [OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts files to build Hi Nathan, Thank you for great suggestions. All of them are valid and I will update the patch once we discuss the .dtb -> .dts mapping. > I am also curious why you need to

Re: [OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts files to build

2023-04-21 Thread Nathan Rossi
From: Petr Kubizňák - 2N > Sent: Friday, April 21, 2023 2:30 PM > To: Nathan Rossi > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core][PATCH v2] devicetree.bbclass: Allow selection of dts > files to build > > Hi Nathan, > > Thank you for great sugge