Thread (1 message) 1 message, 1 author, 2012-08-25

Re: [PATCH REPOST] dtc: integrate gpp

From: Stephen Warren <hidden>
Date: 2012-08-25 22:26:01


Jean-Christophe PLAGNIOL-VILLARD [off-list ref] wrote:
On 22:11 Tue 21 Aug     , Stephen Warren wrote:
quoted
From: Stephen Warren <redacted>

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
quoted
not find many /good/ possibilities for this. I eventually found one
called
quoted
gpp. This patch is an extremely quick-and-dirty integration of gpp
into
quoted
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)
-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help