Re: Port silent mode detection to future gnu make.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good morning.

On Sun, Nov 27, 2022 at 1:02 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
> Please come back after your patch is applied
> (and please have the patch include the commit hash
> causing the behaviour change)



The change is available in git in sha dc2d963989b96161472b2cd38cef5d1f4851ea34.

regards, Dmitry

diff --git a/Makefile b/Makefile
index 6f846b1f2618..c5d5558e9806 100644
--- a/Makefile
+++ b/Makefile
@@ -94,7 +94,7 @@ endif
 # If the user is running make -s (silent mode), suppress echoing of
 # commands

-ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),)
+ifneq ($(findstring s,$(firstword -$(MAKEFLAGS))),)
   quiet=silent_
   KBUILD_VERBOSE = 0
 endif



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux