patch-2.4.0-prerelease linux/arch/sh/Makefile

Next file: linux/arch/sh/boot/compressed/head.S
Previous file: linux/arch/ppc/xmon/Makefile
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test12/linux/arch/sh/Makefile linux/arch/sh/Makefile
@@ -46,8 +46,8 @@
 AFLAGS		+= -m3
 endif
 ifdef CONFIG_CPU_SH4
-CFLAGS		+= -m4
-AFLAGS		+= -m4
+CFLAGS		+= -m4-nofpu
+AFLAGS		+= -m4-nofpu
 endif
 
 #
@@ -78,7 +78,7 @@
 vmlinux: arch/sh/vmlinux.lds
 
 arch/sh/vmlinux.lds: arch/sh/vmlinux.lds.S FORCE
-	$(CPP) -C -P -I$(HPATH) -Ush arch/sh/vmlinux.lds.S >arch/sh/vmlinux.lds
+	$(CPP) -traditional -C -P -I$(HPATH) -Ush arch/sh/vmlinux.lds.S >arch/sh/vmlinux.lds
 
 FORCE: ;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)