summaryrefslogtreecommitdiffstats
path: root/scripts/mkmakefile
diff options
context:
space:
mode:
authorMasahiro Yamada2014-04-14 11:27:10 +0200
committerMichal Marek2014-04-16 23:28:41 +0200
commita86fe3537350613c0181ce936884036a9695ceea (patch)
tree7572e2131dc2c9e014c4c22302336c5812912393 /scripts/mkmakefile
parentLinux 3.15-rc1 (diff)
downloadkernel-qcow2-linux-a86fe3537350613c0181ce936884036a9695ceea.tar.gz
kernel-qcow2-linux-a86fe3537350613c0181ce936884036a9695ceea.tar.xz
kernel-qcow2-linux-a86fe3537350613c0181ce936884036a9695ceea.zip
kbuild: move extra gcc checks to scripts/Makefile.extrawarn
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> CC: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts/mkmakefile')
0 files changed, 0 insertions, 0 deletions