]> git.sur5r.net Git - u-boot/commit
Makefile: move more flags to the top Makefile
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 4 Feb 2014 08:24:19 +0000 (17:24 +0900)
committerTom Rini <trini@ti.com>
Wed, 19 Feb 2014 16:07:50 +0000 (11:07 -0500)
commit2b3c9d3ddd4e0b5a55d17e164e817b42cb555639
tree1e1c4ab380b87fdc02438a58c10ad501b97819fa
parentbf4b3de1013c1643ffb8f071292c0f0eabb265c3
Makefile: move more flags to the top Makefile

Before this commit, most of compiler flags were defined in config.mk.
But it is redundant because config.mk is included from all recursive make.

This commit moves many complier flags to the top Makefile
and export them.
And we use new vaiarables to store them:
KBUILD_CPPFLAGS, KBUILD_CFLAGS, KBUILD_AFLAGS.
This will allow us to switch more smoothly to Kbuild.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile
config.mk