dslinux/linux-2.6.x/arch/arm Makefile

amadeus dslinux_amadeus at user.in-berlin.de
Mon Jul 3 22:23:31 CEST 2006


Update of /cvsroot/dslinux/dslinux/linux-2.6.x/arch/arm
In directory antilope:/tmp/cvs-serv4071/linux-2.6.x/arch/arm

Modified Files:
	Makefile 
Log Message:
Add some support for GBA slot 8bit write

Index: Makefile
===================================================================
RCS file: /cvsroot/dslinux/dslinux/linux-2.6.x/arch/arm/Makefile,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Makefile	5 Apr 2006 19:38:58 -0000	1.4
+++ Makefile	3 Jul 2006 20:23:29 -0000	1.5
@@ -72,6 +72,12 @@
 CFLAGS		+=$(CFLAGS_ABI) $(arch-y) $(tune-y) $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) -msoft-float -Uarm
 AFLAGS		+=$(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float
 
+# Add a compiler option to substitute all 8-bit-writes (strb)
+# with swpb, to be able to use 16bit memory as general memory.
+ifeq ($(CONFIG_NDS_ROM8BIT),y)
+CFLAGS += -mswp-byte-writes
+endif
+
 CHECKFLAGS	+= -D__arm__
 
 #Default value




More information about the dslinux-commit mailing list