diff options
author | Simon Glass <sjg@chromium.org> | 2021-04-01 11:18:13 +1300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2021-04-01 10:35:16 -0400 |
commit | a0da06d2f853b7f20caec41ba7c7d8cdd73e55fd (patch) | |
tree | c11ec0f7e46a35723aab47178e5818cb5d28fe84 | |
parent | 43d3de544d123b9609b637e614c8e2872f1153fc (diff) | |
download | u-boot-a0da06d2f853b7f20caec41ba7c7d8cdd73e55fd.zip u-boot-a0da06d2f853b7f20caec41ba7c7d8cdd73e55fd.tar.gz u-boot-a0da06d2f853b7f20caec41ba7c7d8cdd73e55fd.tar.bz2 |
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 <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")
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"; \ |