summaryrefslogtreecommitdiff
path: root/scripts/Makefile.extrawarn
Commit message (Collapse)AuthorAgeLines
* kbuild: move extra gcc checks to scripts/Makefile.extrawarnMasahiro Yamada2014-08-21-0/+67
This commit was imported from Linux Kernel: commit a86fe353 written by me. W=... provides extra gcc checks. Having such code in scripts/Makefile.build results in the same flags being added to KBUILD_CFLAGS multiple times becuase scripts/Makefile.build is invoked every time Kbuild descends into the subdirectories. Since the top Makefile is already too cluttered, this commit moves all of extra gcc check stuff to a new file scripts/Makefile.extrawarn, which is included from the top Makefile. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>