Home
last modified time | relevance | path

Searched hist:a86fe3537350613c0181ce936884036a9695ceea (Results 1 – 2 of 2) sorted by relevance

/linux/scripts/
H A DMakefile.builda86fe3537350613c0181ce936884036a9695ceea Mon Apr 14 09:27:10 UTC 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> 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>
/linux/
H A DMakefilea86fe3537350613c0181ce936884036a9695ceea Mon Apr 14 09:27:10 UTC 2014 Masahiro Yamada <yamada.m@jp.panasonic.com> 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>