]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Makefile: Silence the deprecation script
authorSimon Glass <sjg@chromium.org>
Wed, 31 Mar 2021 22:18:13 +0000 (11:18 +1300)
committerTom Rini <trini@konsulko.com>
Thu, 1 Apr 2021 14:35:16 +0000 (10:35 -0400)
This bash code is currently showing up in the build unless 'make -s' is
used. We don't normally show these sorts of things as they are confusing.
Also this code was not shown before the recent refactoring of how these
messages are displayed.

Add an '@' to silence it.

Suggested-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
Reported-by: Bin Meng <bmeng.cn@gmail.com>
Fixes: 13732528516 ("Makefile: Add common code to report deprecation")
Makefile

index e60717f7a27d15f5563f4da9d3af07c453eb4f4b..84d1112e0a25c97f7dfc1fd420be57523a3d9bff 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1027,7 +1027,7 @@ expect = $(foreach cfg,$(1),y)
 # Note: Script avoids bash construct, hence the strange double 'if'
 # (patches welcome!)
 define deprecated
-       if [ -n "$(strip $(4))" ]; then if [ "$(got)" != "$(expect)" ]; then \
+       @if [ -n "$(strip $(4))" ]; then if [ "$(got)" != "$(expect)" ]; then \
                echo >&2 "===================== WARNING ======================"; \
                echo >&2 "This board does not use $(firstword $(1)) (Driver Model"; \
                echo >&2 "for $(2)). Please update the board to use"; \