|
@@ -311,9 +311,15 @@ endif
|
|
|
# If the user is running make -s (silent mode), suppress echoing of
|
|
|
# commands
|
|
|
|
|
|
+ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
|
|
|
+ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)
|
|
|
+ quiet=silent_
|
|
|
+endif
|
|
|
+else # make-3.8x
|
|
|
ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
|
|
|
quiet=silent_
|
|
|
endif
|
|
|
+endif
|
|
|
|
|
|
export quiet Q KBUILD_VERBOSE
|
|
|
|
|
@@ -633,7 +639,7 @@ endif
|
|
|
|
|
|
ifdef CONFIG_DEBUG_INFO
|
|
|
KBUILD_CFLAGS += -g
|
|
|
-KBUILD_AFLAGS += -gdwarf-2
|
|
|
+KBUILD_AFLAGS += -Wa,--gdwarf-2
|
|
|
endif
|
|
|
|
|
|
ifdef CONFIG_DEBUG_INFO_REDUCED
|