From a0da06d2f853b7f20caec41ba7c7d8cdd73e55fd Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 1 Apr 2021 11:18:13 +1300 Subject: [PATCH] Makefile: Silence the deprecation script 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 Signed-off-by: Simon Glass Reported-by: Bin Meng Fixes: 13732528516 ("Makefile: Add common code to report deprecation") --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e60717f7a2..84d1112e0a 100644 --- 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"; \