aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-01-30 19:58:05 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2014-01-30 19:58:05 -0500
commit597690cd02684b7e4904288e4b85797123a5093f (patch)
treef5d2a84771b9d532f2fe99a9cf4e0b51f5432e26 /Makefile
parent53d8ab29f8f6d67e37857b68189b38fa3d87dd8e (diff)
parentbf705ad0c364ea375b3a5e89fa8a0e1c1fde994c (diff)
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild changes from Michal Marek: - fix make -s detection with make-4.0 - fix for scripts/setlocalversion when the kernel repository is a submodule - do not hardcode ';' in macros that expand to assembler code, as some architectures' assemblers use a different character for newline - Fix passing --gdwarf-2 to the assembler * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild: frv: Remove redundant debugging info flag mn10300: Remove redundant debugging info flag kbuild: Fix debugging info generation for .S files arch: use ASM_NL instead of ';' for assembler new line character in the macro kbuild: Fix silent builds with make-4 Fix detectition of kernel git repository in setlocalversion script [take #2]
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 455fd484b20e..df81a4c34a22 100644
--- a/Makefile
+++ b/Makefile
@@ -311,9 +311,15 @@ endif
311# If the user is running make -s (silent mode), suppress echoing of 311# If the user is running make -s (silent mode), suppress echoing of
312# commands 312# commands
313 313
314ifneq ($(filter 4.%,$(MAKE_VERSION)),) # make-4
315ifneq ($(filter %s ,$(firstword x$(MAKEFLAGS))),)
316 quiet=silent_
317endif
318else # make-3.8x
314ifneq ($(filter s% -s%,$(MAKEFLAGS)),) 319ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
315 quiet=silent_ 320 quiet=silent_
316endif 321endif
322endif
317 323
318export quiet Q KBUILD_VERBOSE 324export quiet Q KBUILD_VERBOSE
319 325
@@ -633,7 +639,7 @@ endif
633 639
634ifdef CONFIG_DEBUG_INFO 640ifdef CONFIG_DEBUG_INFO
635KBUILD_CFLAGS += -g 641KBUILD_CFLAGS += -g
636KBUILD_AFLAGS += -gdwarf-2 642KBUILD_AFLAGS += -Wa,--gdwarf-2
637endif 643endif
638 644
639ifdef CONFIG_DEBUG_INFO_REDUCED 645ifdef CONFIG_DEBUG_INFO_REDUCED