Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-03 Thread Srinivas KANDAGATLA
On 01/02/13 19:25, Stephen Warren wrote: On 02/01/2013 10:27 AM, Stephen Warren wrote: On 02/01/2013 09:51 AM, Rob Herring wrote: On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: Hi Stephen, Not sure if you have already noticed this but, I did try this patch on my 3.8, and it looks like

Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-01 Thread Srinivas KANDAGATLA
Hi Stephen, Not sure if you have already noticed this but, I did try this patch on my 3.8, and it looks like the intermediate dts file replaces all instances of linux with 1 because of predefined macros in gcc. As a result linux,stdout-path = /soc/stm-asc2; is changed to. 1,stdout-path =

Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-01 Thread Rob Herring
On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: Hi Stephen, Not sure if you have already noticed this but, I did try this patch on my 3.8, and it looks like the intermediate dts file replaces all instances of linux with 1 because of predefined macros in gcc. As a result

Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-01 Thread Stephen Warren
On 02/01/2013 09:51 AM, Rob Herring wrote: On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: Hi Stephen, Not sure if you have already noticed this but, I did try this patch on my 3.8, and it looks like the intermediate dts file replaces all instances of linux with 1 because of predefined

Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-02-01 Thread Srinivas KANDAGATLA
On 01/02/13 16:51, Rob Herring wrote: On 02/01/2013 03:01 AM, Srinivas KANDAGATLA wrote: Hi Stephen, Not sure if you have already noticed this but, I did try this patch on my 3.8, and it looks like the intermediate dts file replaces all instances of linux with 1 because of predefined macros

Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-01-14 Thread Jean-Christophe PLAGNIOL-VILLARD
On 11:43 Wed 02 Jan , Stephen Warren wrote: From: Stephen Warren swar...@nvidia.com Create cmd_dtc_cpp to run the C pre-processor on *.dts file before passing them to dtc for final compilation. This allows the use of #define and #include within the .dts file. Signed-off-by: Stephen

Re: [PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-01-12 Thread Simon Glass
On Wed, Jan 2, 2013 at 10:43 AM, Stephen Warren swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com Create cmd_dtc_cpp to run the C pre-processor on *.dts file before passing them to dtc for final compilation. This allows the use of #define and #include within the .dts file.

[PATCH V7] kbuild: create a rule to run the pre-processor on *.dts files

2013-01-02 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com Create cmd_dtc_cpp to run the C pre-processor on *.dts file before passing them to dtc for final compilation. This allows the use of #define and #include within the .dts file. Signed-off-by: Stephen Warren swar...@nvidia.com --- Grant, back in