lkml.org 
[lkml]   [2008]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC patch 1/9] CRIS remove -traditional
Subject: [RFC patch 1/9] Re: [PATCH] Stringify support commas
> This is a no-no for those archs that still use -traditional.
> > I dunno if this is a problem for you at the moment and the
> > right fix is anyway to nuke -traditional.
> >
> > Sam

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
CC: Sam Ravnborg <sam@ravnborg.org>
CC: starvik@axis.com
CC: jesper.nilsson@axis.com
CC: dev-etrax@axis.com
---
arch/cris/arch-v10/boot/compressed/Makefile | 2 +-
arch/cris/arch-v10/boot/rescue/Makefile | 1 -
arch/cris/arch-v10/lib/Makefile | 3 ---
3 files changed, 1 insertion(+), 5 deletions(-)

Index: linux-2.6-lttng/arch/cris/arch-v10/boot/compressed/Makefile
===================================================================
--- linux-2.6-lttng.orig/arch/cris/arch-v10/boot/compressed/Makefile 2008-04-21 09:54:08.000000000 -0400
+++ linux-2.6-lttng/arch/cris/arch-v10/boot/compressed/Makefile 2008-04-21 09:54:22.000000000 -0400
@@ -22,7 +22,7 @@ $(obj)/decompress.bin: $(obj)/decompress
$(call if_changed,objcopy)

$(obj)/head.o: $(obj)/head.S .config
- @$(CC) -D__ASSEMBLY__ -traditional -c $< -o $@
+ @$(CC) -D__ASSEMBLY__ -c $< -o $@

$(obj)/misc.o: $(obj)/misc.c .config
@$(CC) -D__KERNEL__ -c $< -o $@
Index: linux-2.6-lttng/arch/cris/arch-v10/boot/rescue/Makefile
===================================================================
--- linux-2.6-lttng.orig/arch/cris/arch-v10/boot/rescue/Makefile 2008-04-21 09:54:29.000000000 -0400
+++ linux-2.6-lttng/arch/cris/arch-v10/boot/rescue/Makefile 2008-04-21 09:54:38.000000000 -0400
@@ -4,7 +4,6 @@

CC = gcc-cris -mlinux $(LINUXINCLUDE)
ccflags-y += -O2
-asflags-y += -traditional
LD = gcc-cris -mlinux -nostdlib
ldflags-y += -T $(obj)/rescue.ld
OBJCOPY = objcopy-cris
Index: linux-2.6-lttng/arch/cris/arch-v10/lib/Makefile
===================================================================
--- linux-2.6-lttng.orig/arch/cris/arch-v10/lib/Makefile 2008-04-21 09:54:44.000000000 -0400
+++ linux-2.6-lttng/arch/cris/arch-v10/lib/Makefile 2008-04-21 09:54:53.000000000 -0400
@@ -2,8 +2,5 @@
# Makefile for Etrax-specific library files..
#

-
-EXTRA_AFLAGS := -traditional
-
lib-y = checksum.o checksumcopy.o string.o usercopy.o memset.o csumcpfruser.o

--
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68


\
 
 \ /
  Last update: 2008-04-22 19:33    [W:1.549 / U:0.516 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site