From: Simon Glass Date: Wed, 31 Mar 2021 22:18:13 +0000 (+1300) Subject: Makefile: Silence the deprecation script X-Git-Tag: v2021.10~251 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a0da06d2f853b7f20caec41ba7c7d8cdd73e55fd;p=platform%2Fkernel%2Fu-boot.git 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") --- diff --git a/Makefile b/Makefile index e60717f..84d1112 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"; \