[U-Boot-Users] PATCH - Coldfire gcc3.4 compiling fix

Jate Sujjavanich jsujjavanich at syntech-fuelmaster.com
Tue Dec 6 19:18:05 CET 2005


This patch is properly formatted.

Index: config.mk
===================================================================
RCS file: /cvsroot/u-boot/u-boot/config.mk,v
retrieving revision 1.14
diff -u -r1.14 config.mk
--- config.mk	4 Oct 2005 21:11:34 -0000	1.14
+++ config.mk	6 Dec 2005 18:16:22 -0000
@@ -139,7 +139,14 @@
 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) 

-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Jate
Sujjavanich
Sent: Tuesday, December 06, 2005 12:08 PM
To: u-boot-users at lists.sourceforge.net
Subject: [U-Boot-Users] PATCH - Coldfire gcc3.4 compiling fix

Index: config.mk
===================================================================
RCS file: /cvsroot/u-boot/u-boot/config.mk,v
retrieving revision 1.14
diff -u -r1.14 config.mk
--- config.mk	4 Oct 2005 21:11:34 -0000	1.14
+++ config.mk	6 Dec 2005 16:57:10 -0000
@@ -139,7 +139,14 @@
 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)




More information about the U-Boot mailing list