]> git.baikalelectronics.ru Git - uboot.git/commit
Makefile: Disable stack-usage check for ARC
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Mon, 2 Apr 2018 09:18:02 +0000 (12:18 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 3 Apr 2018 12:35:33 +0000 (08:35 -0400)
commit74a4b48a3efb56619d727ab6d27e1d33009ea614
treeed7be5d757011529e3a7b0880734ee76beb85596
parent45e6766a0a274523f7d9ba9d2b45624b3143b745
Makefile: Disable stack-usage check for ARC

With the most recent tools for ARC (arc-2017.09) in case of
"naked" function compiler throws a warning:
---------------------------------->8-----------------------------
board/synopsys/hsdk/hsdk.c: In function 'hsdk_core_init_f':
board/synopsys/hsdk/hsdk.c:345:1: warning: stack usage computation not supported for this target
 }
 ^
---------------------------------->8-----------------------------

That happens because the compiler doesn't handle "naked" functions
as a special case where stack calculation shouldn't be done.

But for now until this is fixed in GCC to get clean buildman output
we're disabling stack-usage check for ARC.

See https://lists.denx.de/pipermail/u-boot/2018-April/324455.html
for more background.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Tom Rini <trini@konsulko.com>
Makefile