Re: [PATCH 3/9] scripts: Makefile.lib: Pass __UBOOT__ to DTC's CPP

2022-03-17 Thread Pierre-Clément Tosi
On Wed, Mar 16, 2022 at 01:23:43PM -0600, Simon Glass wrote: > Hi Pierre-Clément, > > On Wed, 16 Mar 2022 at 09:40, Pierre-Clément Tosi wrote: > > > > Some headers included (possibly indirectly) from .dts files might have > > U-Boot specific content relying on the __UBOOT__ macro passed to CPP >

Re: [PATCH 3/9] scripts: Makefile.lib: Pass __UBOOT__ to DTC's CPP

2022-03-16 Thread Simon Glass
Hi Pierre-Clément, On Wed, 16 Mar 2022 at 09:40, Pierre-Clément Tosi wrote: > > Some headers included (possibly indirectly) from .dts files might have > U-Boot specific content relying on the __UBOOT__ macro passed to CPP > when building C code. In that case, it would be sensible for DTC to see >