summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@pollux.denx.de>2006-05-09 13:46:55 +0200
committerWolfgang Denk <wd@pollux.denx.de>2006-05-09 13:46:55 +0200
commit1cfefe8cb6e1bb43f6509c0aee254e2908d42f21 (patch)
treeeba45129d65b83452d281514802f3895aa4f283e /config.mk
parent67a94685225b289fb3344cf00fefa91fd93f24ae (diff)
parent78b123cd69d485887f33ebd33ba1f9b27f8e6916 (diff)
downloadu-boot-imx-1cfefe8cb6e1bb43f6509c0aee254e2908d42f21.zip
u-boot-imx-1cfefe8cb6e1bb43f6509c0aee254e2908d42f21.tar.gz
u-boot-imx-1cfefe8cb6e1bb43f6509c0aee254e2908d42f21.tar.bz2
Merge with /home/m8/git/u-boot
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.mk b/config.mk
index dfbb1b7..b1e1d8f 100644
--- a/config.mk
+++ b/config.mk
@@ -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)