[PATCH V4 REPOST 2/2] kbuild: run the pre-processor on *.dts files

Stephen Warren swarren at wwwdotorg.org
Sun Oct 28 13:10:13 EST 2012


On 10/27/2012 07:06 PM, Rob Herring wrote:
> Mark Brown <broonie at opensource.wolfsonmicro.com> wrote:
> 
>     On Fri, Oct 26, 2012 at 02:57:50PM -0500, Rob Herring wrote:
> 
>         Like I said previously, I think we first need guidelines on what
>         is and
>         isn't acceptable use of C preprocessor in dts files.
> 
> 
>     Didn't we already say that it was just the same rules as for things tht
>     get included in .S files?  Besides for plain .dts files (as opposed to
>     .dtsi files) it seems like if people break things they get to keep all
>     the pieces without disrupting other people too much.
> 
> 
> Yes, but can we document that. Also, I'd like others with more DT
> historical knowledge to weigh in.

OK. What's the appropriate file to document that in? I assume you're not
just looking for an explanation in the commit description?



More information about the devicetree-discuss mailing list