
On Tue, Sep 11, 2012 at 11:43 AM, Eric Nelson eric.nelson@boundarydevices.com wrote:
On 09/10/2012 08:56 PM, Fabio Estevam wrote: We also need to add support for a board (our Nitrogen6x) which is a slight variation on Sabre Lite.
We have been patching the board/freescale/mx6qsabrelite, and our needs can in general be handled without ifdefs, but it seems that this approach doesn't scale well.
When other vendors produce boards which are also slight variations, where do we draw the line, and more importantly, how do we track and test the needs of each?
Our thinking is that if it's a different board, it should have a different directory, and common code should be clearly separated.
It is not my call but I think I share your view; even it is a small variation it is better to have it clear also because it is more developer-friendly or developer needs to be careful all the time to not mess with other boards settings.