[U-Boot] [PATCH 8/8] dts/Makefile: pass -undef -D__DTS__ to cpp

Simon Glass sjg at chromium.org
Wed Jun 19 23:01:30 CEST 2013


On Mon, Jun 10, 2013 at 4:17 PM, Stephen Warren <swarren at wwwdotorg.org>wrote:

> From: Stephen Warren <swarren at nvidia.com>
>
> This brings U-Boot's cpp invocation into line with the way the Linux
> kernel invokes cpp on device trees. Consistency will be useful to ensure
> *.dts is portable between the two.
>
> -undef also has the added advantage of not defining "linux", so DT
> property names such as "linux,keymap" don't get mangled.
>
> Signed-off-by: Stephen Warren <swarren at nvidia.com>
>

Acked-by: Simon Glass <sjg at chromium.org>


This series looks good and I'm pleased that it seems we are now able to
drop support for the older dtc. It is slightly concerning that there has
been no new dtc release for so long, but we should try to minimise the pain
caused to U-Boot.

We have local patches which enable building multiple .dts files as the
kernel does. Once this lands we can perhaps send out a patch or two for
that.

Regards,
Simon


More information about the U-Boot mailing list