[U-Boot] [PATCH 0/8] rely on latest dtc, simplify

Stephen Warren swarren at wwwdotorg.org
Wed Jun 19 17:38:17 CEST 2013


On 06/19/2013 06:46 AM, Tom Rini wrote:
> On Tue, Jun 11, 2013 at 12:19:52PM -0400, Tom Rini wrote:
>> On Mon, Jun 10, 2013 at 05:16:56PM -0600, Stephen Warren wrote:
>> 
>>> From: Stephen Warren <swarren at nvidia.com>
>>> 
>>> This is a series of patches which simplifies the rules to build
>>> *.dts in U-Boot by relying on features in the latest dtc. The
>>> include rules are made more consistent between cpp (when
>>> processing *.dts) and dtc. The cpp flags are made more
>>> consistent with the way the kernel processes *.dts to allow
>>> better portability of *.dts between the two.
>> 
>> Please add a dtc-version Makefile variable and corresponding 
>> tools/dtc-version.sh script, ala gcc/binutils so that we can
>> error out gracefully if dtc isn't supporting the options we
>> need.
> 
> For clarity, we need some sort of graceful error-out, be it
> version check or flag-is-supported check.  I fear this is going to
> lead to a lot of people not being able to compile and I'd like to
> be able to give a clear error message.

I've implemented this check and have the patches ready. I'm just
waiting for a dtc release that has all the required features, so that
there actually is a version number the code can check for.

It sounds like there's agreement to make the dtc release by the end of
this week, unless anyone comes forward and objects, and they haven't
yet:-)


More information about the U-Boot mailing list