public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH 1/2] bfin: Disable -fstack-usage
@ 2012-09-11 19:08 Marek Vasut
  2012-09-11 19:08 ` [U-Boot] [PATCH 2/2] bfin: Fix warning in bfin_mac Marek Vasut
  2012-09-12  4:27 ` [U-Boot] [PATCH 1/2] bfin: Disable -fstack-usage Mike Frysinger
  0 siblings, 2 replies; 9+ messages in thread
From: Marek Vasut @ 2012-09-11 19:08 UTC (permalink / raw)
  To: u-boot

The GCC does not support this on blackfin, disable it.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
---
 config.mk |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/config.mk b/config.mk
index c3822a2..d39355f 100644
--- a/config.mk
+++ b/config.mk
@@ -245,8 +245,10 @@ CFLAGS_WARN := $(call cc-option,-Wno-format-nonliteral) \
 CFLAGS += $(CFLAGS_WARN)
 
 # Report stack usage if supported
+ifneq ($(ARCH),blackfin)
 CFLAGS_STACK := $(call cc-option,-fstack-usage)
 CFLAGS += $(CFLAGS_STACK)
+endif
 
 # $(CPPFLAGS) sets -g, which causes gcc to pass a suitable -g<format>
 # option to the assembler.
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2012-09-12 17:10 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 19:08 [U-Boot] [PATCH 1/2] bfin: Disable -fstack-usage Marek Vasut
2012-09-11 19:08 ` [U-Boot] [PATCH 2/2] bfin: Fix warning in bfin_mac Marek Vasut
2012-09-12  4:27   ` Mike Frysinger
2012-09-12  9:51   ` Marek Vasut
2012-09-12 14:32     ` Joe Hershberger
2012-09-12 16:18       ` Mike Frysinger
2012-09-12  4:27 ` [U-Boot] [PATCH 1/2] bfin: Disable -fstack-usage Mike Frysinger
2012-09-12  7:59   ` Marek Vasut
2012-09-12 17:10     ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox