Skip to content

Commit

Permalink
Build: fix silent mode with make 3.8x
Browse files Browse the repository at this point in the history
With make 3.8x, in case of 'make all -s -w', MAKEFLAGS equals 'ws'
This patch correctly catches the flag 's'

Reviewed-by: Jerome Forissier <[email protected]>
Reviewed-by: Jens Wiklander <[email protected]>
Signed-off-by: Pascal Brand <[email protected]>
  • Loading branch information
Pascal Brand committed May 29, 2015
1 parent c974c7d commit 3dc79b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)
cmd-echo-silent := true
endif
else # make-3.8x
ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
ifneq ($(findstring s, $(MAKEFLAGS)),)
cmd-echo-silent := true
endif
endif
Expand Down
2 changes: 1 addition & 1 deletion ta/mk/ta_dev_kit.mk
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)
cmd-echo-silent := true
endif
else # make-3.8x
ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
ifneq ($(findstring s, $(MAKEFLAGS)),)
cmd-echo-silent := true
endif
endif
Expand Down

0 comments on commit 3dc79b0

Please sign in to comment.