Makefile.lib: cmd_dtc: warning: missing whitespace after the macro name

Sascha Hauer s.hauer at pengutronix.de
Mon Sep 19 02:14:10 PDT 2022


Hi Antony,

On Mon, Sep 12, 2022 at 12:07:34PM +0300, Antony Pavlov wrote:
> On Mon, 12 Sep 2022 10:01:52 +0200
> Sascha Hauer <s.hauer at pengutronix.de> wrote:
> 
> > One side effect is that this gets even less readable.
> 
> Yes, you are right :)
> 
> > Another one would be that two dts filenames which only differ in the
> > usage of '.' and '_' would result in the same define, but I think that
> > case is negligible as this define is unused in barebox itself. It could
>                                        ^^^^^^^^^^^^^^^^^^^^^^^^
> > be used by external dts fragments passed in via CONFIG_EXTERNAL_DTS_FRAGMENTS.
> > 
> > Other than that, what side effects are you afraid of?
> 
> I have an idea that someone relies on these *_dts macros.
> 
> Now I see (as you have noted above) that there is no macro users in mainline source tree:

Could you create a formal patch from this?

Sascha

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list