diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-24 22:26:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-03-24 22:26:47 -0400 |
commit | 2162b80fcadf5b0afff08b540bd141f8a5ff5ed1 (patch) | |
tree | 61fa829c78e1850e35946db3f794c9f320c4a906 /Makefile | |
parent | 976fb3f7b92e91aeccb87de60128a1e65edd676f (diff) | |
parent | ea8daa7b97842aab8507b5b5b1e3226cf2d514a6 (diff) |
Merge branch 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild
Pull kbuild updates from Michal Marek:
- make dtbs_install fix
- Error handling fix fixdep and link-vmlinux.sh
- __UNIQUE_ID fix for clang
- Fix for if_changed_* to suppress the "is up to date." message
- The kernel is built with -Werror=incompatible-pointer-types
* 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild:
kbuild: Add option to turn incompatible pointer check into error
kbuild: suppress annoying "... is up to date." message
kbuild: fixdep: Check fstat(2) return value
scripts/link-vmlinux.sh: force error on kallsyms failure
Kbuild: provide a __UNIQUE_ID for clang
dtbsinstall: don't move target directory out of the way
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -782,6 +782,9 @@ KBUILD_CFLAGS += $(call cc-option,-Werror=strict-prototypes) | |||
782 | # Prohibit date/time macros, which would make the build non-deterministic | 782 | # Prohibit date/time macros, which would make the build non-deterministic |
783 | KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) | 783 | KBUILD_CFLAGS += $(call cc-option,-Werror=date-time) |
784 | 784 | ||
785 | # enforce correct pointer usage | ||
786 | KBUILD_CFLAGS += $(call cc-option,-Werror=incompatible-pointer-types) | ||
787 | |||
785 | # use the deterministic mode of AR if available | 788 | # use the deterministic mode of AR if available |
786 | KBUILD_ARFLAGS := $(call ar-option,D) | 789 | KBUILD_ARFLAGS := $(call ar-option,D) |
787 | 790 | ||