projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: dts: msm: Add clock controller nodes and hook into uart
[platform/kernel/linux-rpi.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
455fd48
..
4231023
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-311,9
+311,15
@@
endif
# If the user is running make -s (silent mode), suppress echoing of
# commands
# 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
ifneq ($(filter s% -s%,$(MAKEFLAGS)),)
quiet=silent_
endif
+endif
export quiet Q KBUILD_VERBOSE
export quiet Q KBUILD_VERBOSE
@@
-633,7
+639,7
@@
endif
ifdef CONFIG_DEBUG_INFO
KBUILD_CFLAGS += -g
ifdef CONFIG_DEBUG_INFO
KBUILD_CFLAGS += -g
-KBUILD_AFLAGS += -gdwarf-2
+KBUILD_AFLAGS += -
Wa,--
gdwarf-2
endif
ifdef CONFIG_DEBUG_INFO_REDUCED
endif
ifdef CONFIG_DEBUG_INFO_REDUCED
@@
-682,6
+688,9
@@
KBUILD_CFLAGS += $(call cc-option,-Werror=implicit-int)
# require functions to have arguments in prototypes, not empty 'int foo()'
KBUILD_CFLAGS += $(call cc-option,-Werror=strict-prototypes)
# require functions to have arguments in prototypes, not empty 'int foo()'
KBUILD_CFLAGS += $(call cc-option,-Werror=strict-prototypes)
+# Prohibit date/time macros, which would make the build non-deterministic
+KBUILD_CFLAGS += $(call cc-option,-Werror=date-time)
+
# use the deterministic mode of AR if available
KBUILD_ARFLAGS := $(call ar-option,D)
# use the deterministic mode of AR if available
KBUILD_ARFLAGS := $(call ar-option,D)