summaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorJon Loeliger <jdl@freescale.com>2006-06-07 08:49:38 -0500
committerJon Loeliger <jdl@freescale.com>2006-06-07 08:49:38 -0500
commit72ed528a948b151e7be5ce03ed3d2b88a229dd0a (patch)
tree0f90590c0faf6fcc85f26f92facc653112be53e0 /config.mk
parent9f37dc8cabc94aed27aec8b4c69a390c8603fd28 (diff)
parente461a24113c66747510b07930a83b0d84171a559 (diff)
downloadu-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.zip
u-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.tar.gz
u-boot-imx-72ed528a948b151e7be5ce03ed3d2b88a229dd0a.tar.bz2
Merge branch 'master' of http://www.denx.de/git/u-boot
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index b1e1d8f..c7b841d 100644
--- a/config.mk
+++ b/config.mk
@@ -143,14 +143,15 @@ CFLAGS := $(CPPFLAGS) -Wall -Wno-trigraphs
endif
endif
+AFLAGS_DEBUG := -Wa,-gstabs
+
# 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)