Makefile: Silence the deprecation script
PATCH 1/1 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.
---
Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Makefile +1 -1
@@ -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"; \
Signature · 1 line
2.31.0.291.g576ba9dcdaf-goog
PATCH 1/1 Makefile: Silence the deprecation script
Quoted 32 lines · Simon Glass
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.
Signed-off-by Simon Glass <[email protected]>Reported-by Bin Meng <[email protected]>Fixes 13732528516 ("Makefile: Add common code to report deprecation")---
Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Makefile +1
-2@@ -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"; \ --2.31.0.291.g576ba9dcdaf-goog
PATCH 1/1 Makefile: Silence the deprecation script
In reply to Simon GlassQuoted 10 lines · Simon Glass
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.
Signed-off-by Simon Glass <[email protected]>Reported-by Bin Meng <[email protected]>Fixes 13732528516 ("Makefile: Add common code to report deprecation")
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20210401/b4d9626f/attachment.sig>