On Thu, 05 Feb 2026 15:30:42 +0100, Ahmad Fatoum wrote:
> We already got rid of this dependency for the normal barebox build, so
> break it up for the scripts/ build as well to avoid this nconf warning
> on some distros:
> 
>   In file included from scripts/kconfig/nconf.c:15:
>   scripts/kconfig/nconf.h:25:9: warning: ‘max’ redefined
>      25 | #define max(a, b) ({\
>         |         ^~~
>   In file included from ./barebox/scripts/include/linux/list.h:5,
>                    from ./barebox/scripts/include/list.h:5,
>                    from scripts/kconfig/expr.h:15,
>                    from scripts/kconfig/lkc.h:13,
>                    from scripts/kconfig/nconf.c:14:
>   ./barebox/scripts/include/linux/kernel.h:39:9: note: this is the location 
> of the previous definition
>      39 | #define max(x, y) ({                            \
>         |         ^~~
>   scripts/kconfig/nconf.h:30:9: warning: ‘min’ redefined
> 
> [...]

Applied, thanks!

[1/1] scripts: include: break dependency of list.h on kernel.h
      https://git.pengutronix.de/cgit/barebox/commit/?id=c917e41c99c6 (link may 
not be stable)

Best regards,
-- 
Sascha Hauer <[email protected]>


Reply via email to