X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=Makefile;h=f0619754c29a5e64effb5d58852c3940013af898;hb=refs%2Fheads%2Ftizen-6.1.y;hp=6e34c942744e3f65a3c56523d6a60b333607bf1f;hpb=17d99ea98b6238e7e483fba27e8f7a7842d0f345;p=platform%2Fkernel%2Flinux-starfive.git diff --git a/Makefile b/Makefile index 6e34c94..f061975 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 6 PATCHLEVEL = 1 -SUBLEVEL = 10 +SUBLEVEL = 39 EXTRAVERSION = -NAME = Hurr durr I'ma ninja sloth +NAME = Curry Ramen # *DOCUMENTATION* # To see a list of typical targets execute "make help" @@ -93,10 +93,17 @@ endif # If the user is running make -s (silent mode), suppress echoing of # commands +# make-4.0 (and later) keep single letter options in the 1st word of MAKEFLAGS. -ifneq ($(findstring s,$(filter-out --%,$(MAKEFLAGS))),) - quiet=silent_ - KBUILD_VERBOSE = 0 +ifeq ($(filter 3.%,$(MAKE_VERSION)),) +silence:=$(findstring s,$(firstword -$(MAKEFLAGS))) +else +silence:=$(findstring s,$(filter-out --%,$(MAKEFLAGS))) +endif + +ifeq ($(silence),s) +quiet=silent_ +KBUILD_VERBOSE = 0 endif export quiet Q KBUILD_VERBOSE