[PATCH REPOST] dtc: integrate gpp
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Mon Aug 27 01:16:45 EST 2012
On 16:26 Sat 25 Aug , Stephen Warren wrote:
>
>
> Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> wrote:
>
> >On 22:11 Tue 21 Aug , 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?
> >
> >I'm not sure it's rely the right way
> >
> >I does the support but we may just use gcc for as it's done for linker
> >script
> >but I will agree that with this dtc is standalone
>
> A C-compiler's pre-processor gets confused by property names starting with #, which gpp at least can be configured not to (outside column 1 at least)
ok fine by me
Best Regards,
J.
More information about the devicetree-discuss
mailing list