diff options
author | Marian Balakowicz <m8@semihalf.com> | 2006-05-09 11:28:36 +0200 |
---|---|---|
committer | Marian Balakowicz <m8@semihalf.com> | 2006-05-09 11:28:36 +0200 |
commit | 483a0cf804dfc2b320fc32c7de77d23502dadfd5 (patch) | |
tree | 479523b54a0a46554cacb11fbfc1bd4202bd687d /config.mk | |
parent | 7a635e004ec12bd2a0bae9f90fbb5769b524a42e (diff) | |
download | u-boot-imx-483a0cf804dfc2b320fc32c7de77d23502dadfd5.zip u-boot-imx-483a0cf804dfc2b320fc32c7de77d23502dadfd5.tar.gz u-boot-imx-483a0cf804dfc2b320fc32c7de77d23502dadfd5.tar.bz2 |
Fixes for gcc 3.4 based m68k toolchain,
based on patch by Jate Sujjavanich.
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -143,7 +143,14 @@ CFLAGS := $(CPPFLAGS) -Wall -Wno-trigraphs endif endif +# turn jbsr into jsr for m68k +ifeq ($(ARCH),m68k) +ifeq ($(findstring 3.4,$(shell $(CC) --version)),3.4) +AFLAGS_DEBUG := -Wa,-gstabs,-S +endif +else AFLAGS_DEBUG := -Wa,-gstabs +endif AFLAGS := $(AFLAGS_DEBUG) -D__ASSEMBLY__ $(CPPFLAGS) LDFLAGS += -Bstatic -T $(LDSCRIPT) -Ttext $(TEXT_BASE) $(PLATFORM_LDFLAGS) |