]> Git Repo - u-boot.git/commit
Makefile: Fix calling make with V=1
authorPali Rohár <[email protected]>
Wed, 4 Nov 2020 09:34:35 +0000 (10:34 +0100)
committerTom Rini <[email protected]>
Fri, 6 Nov 2020 14:46:11 +0000 (09:46 -0500)
commit71d3fa7efa4fc07e6f161c742397ddbe4466c631
treeb73451e0e425cee55c2bd7d3aae6922a23c55145
parent7716c328c843d4365c9fe2703e66a7aeee557dfa
Makefile: Fix calling make with V=1

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 <[email protected]>
Reported-by: Patrick Delaunay <[email protected]>
Reviewed-by: Patrick Delaunay <[email protected]>
Fixes: ae897022d7bd ("Makefile: Fix u-boot-nodtb.bin target")
Makefile
This page took 0.032447 seconds and 4 git commands to generate.