DTC/dts modifications
    Segher Boessenkool 
    segher at kernel.crashing.org
       
    Tue May  2 07:26:57 EST 2006
    
    
  
> Cool, here's an invocation that seems to work well.  Not sure what
> causes linux = 1 (thus I need the -U linux).  Also address the line
> information that is normally spit out.
>
> cpp -U linux -P -x assembler-with-cpp foo.dts
Try  -undef  instead.  You will *still* have some predefined
symbols, but at least all of those will have plenty of underscores.
It's still a really bad idea to run non-C code through the C
pre-processor; have you considered using m4 or similar instead?
Segher
    
    
More information about the Linuxppc-dev
mailing list