[RFC PATCH] dtc: integrate gpp

Simon Glass sjg at chromium.org
Tue Jul 10 22:41:20 EST 2012


Hi Stephen,

On Thu, Jul 5, 2012 at 8:17 AM, Jean-Christophe PLAGNIOL-VILLARD <
plagnioj at jcrosoft.com> wrote:

> On 14:12 Tue 03 Jul     , Stephen Warren wrote:
> > On 06/27/2012 03:41 PM, Stephen Warren wrote:
> > > On 06/15/2012 12:53 PM, Stephen Warren wrote:
> > >> From: Stephen Warren <swarren at nvidia.com>
> > >>
> > >> I figured the easiest way to get named constants into dtc would be to
> > >> re-use an existing C pre-processor implemntation. Surprisingly, I
> could
> > >> not find many /good/ possibilities for this. I eventually found one
> called
> > >> gpp. This patch is an extremely quick-and-dirty integration of gpp
> into
> > >> dtc in order to solicit some feedback. What do people think of this
> > >> approach in general?
> > >
> > > David, Jon,
> > >
> > > What do you think of integrating gpp (or is there some alternative that
> > > would be better)? Does it seem a reasonable approach; should I work on
> > > addressing the TODO items I mentioned in the patch, or give up on this?
> >
> > Are there any comments on this? Thanks.
>
> I'm looking for this too
>
> can we have a clear statement on it?
>

I'm also looking for this.

I was hoping for first-class symbols in dtc, and I wonder how we deal with
error handling in two places, as well as displaying compile errors in
preprocessed code. But still, I hope that this can go ahead as it much
better than what we have at present (nothing).

Regards,
Simon


>
> Best Regards,
> J.
> > _______________________________________________
> > devicetree-discuss mailing list
> > devicetree-discuss at lists.ozlabs.org
> > https://lists.ozlabs.org/listinfo/devicetree-discuss
> _______________________________________________
> devicetree-discuss mailing list
> devicetree-discuss at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/devicetree-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/devicetree-discuss/attachments/20120710/1a59c37e/attachment.html>


More information about the devicetree-discuss mailing list