]> git.sur5r.net Git - u-boot/commit
Makefile: add a new script to check -fstack-usage support
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Wed, 11 Dec 2013 11:11:34 +0000 (20:11 +0900)
committerTom Rini <trini@ti.com>
Tue, 25 Feb 2014 12:51:08 +0000 (07:51 -0500)
commit5b1f1f4aff912d8c8a98113d1af1fdaa2c9038a4
tree202c35c1ac0d444fbcb6b2f04f312bd45a660c68
parentad21fbc1186732962eafd841daa5d2795fab327a
Makefile: add a new script to check -fstack-usage support

If -fstack-usage option is given to crosstools
that do not support it, gcc displays a warning message
but still exits with status 0.

This means we can not rely on $(call cc-option,...)
to detect if -fstack-usage option is supported or not.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile
scripts/gcc-stack-usage.sh [new file with mode: 0644]