[PATCH] Makefile: Fix calling make with V=1

Patrick DELAUNAY patrick.delaunay at st.com
Fri Nov 6 15:42:25 CET 2020


Hi Pali

> From: Pali Rohár <pali at kernel.org>
> Sent: mercredi 4 novembre 2020 10:35
> 
> Calling 'make V=1 all' on Ubuntu 18.04 with gcc version 9.2.1 and GNU Make
> version 4.1 fails on error:
> 
>     scripts/Kbuild.include:220: *** Recursive variable 'echo-cmd' references itself
> (eventually).  Stop.
> 
> As a workaround expand 'echo-cmd' variable via 'call' construction instead of
> expanding it directly.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>
> Reported-by: Patrick DELAUNAY <patrick.delaunay at st.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Patrick Delaunay <patrick.delaunay at st.com>

This patch fixe for me (stm32mp15_basic_defconfig or stm32mp15_trusted_defconfig).
the issue introduced by previous patch 

Fixes: ae897022d7bd ("Makefile: Fix u-boot-nodtb.bin target")

Thanks.

Patrick


More information about the U-Boot mailing list