[yocto] Conditional patches on kernel depending on board, how to maintain?

2014-06-12 Thread Daniel Hilst Selli
I have a SoM which will be used on several boards, this SoM has a base kernel for it, with its board-*.c file. In each board I may have different peripherals, so I have to patch the same board-*.c file depending on my target board, and that patches may be conflicting one each other. For

Re: [yocto] Conditional patches on kernel depending on board, how to maintain?

2014-06-12 Thread Nicolas Dechesne
On Thu, Jun 12, 2014 at 1:54 PM, Daniel Hilst Selli danielhi...@gmail.com wrote: I have a SoM which will be used on several boards, this SoM has a base kernel for it, with its board-*.c file. In each board I may have different peripherals, so I have to patch the same board-*.c file depending on

Re: [yocto] Conditional patches on kernel depending on board, how to maintain?

2014-06-12 Thread Bruce Ashfield
On 14-06-12 07:54 AM, Daniel Hilst Selli wrote: I have a SoM which will be used on several boards, this SoM has a base kernel for it, with its board-*.c file. In each board I may have different peripherals, so I have to patch the same board-*.c file depending on my target board, and that patches