summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarian Balakowicz <m8@semihalf.com>2006-05-17 12:18:48 +0200
committerMarian Balakowicz <m8@semihalf.com>2006-05-17 12:18:48 +0200
commitb62fa913d47e1dab7cbb055dae627c434ea57255 (patch)
treefbc8e9aec13c333bb8c547fb5904afbbd42556dd
parent27333f8c343ec31008c6d626210961f319ad4ec1 (diff)
downloadu-boot-imx-b62fa913d47e1dab7cbb055dae627c434ea57255.zip
u-boot-imx-b62fa913d47e1dab7cbb055dae627c434ea57255.tar.gz
u-boot-imx-b62fa913d47e1dab7cbb055dae627c434ea57255.tar.bz2
Fix gcc 3.4.x AFLAGS setting for m68k platform.
-rw-r--r--CHANGELOG2
-rw-r--r--config.mk5
2 files changed, 5 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 4272844..af6e115 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -2,6 +2,8 @@
Changes since U-Boot 1.1.4:
======================================================================
+* Fix gcc 3.4.x AFLAGS setting for m68k platform.
+
* Enable autoboot for M5271EVB board.
* Changed default ramdisk addr in yosemite/yellowstone ports
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)