summaryrefslogtreecommitdiff
path: root/packages/linux/linux-colinux-2.4.28/shortloadbytes.patch
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>2005-11-05 21:50:06 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-05 21:50:06 +0000
commit594cd366a214b9ea8f7ed52eb7f4635a393f48a5 (patch)
treed0d22e466d06421e9972cd9027569b54924b18d3 /packages/linux/linux-colinux-2.4.28/shortloadbytes.patch
parent7adabd7dffa510d614b4a681c912909b354c1ed6 (diff)
parent3eeaa7051df89f3241f6420d22aa919001376e39 (diff)
merge of 21d66a92293faf76a506c7d17e3cd16e143bb401
and 70f8ac179abbb777f1bec20edf02530820b33e92
Diffstat (limited to 'packages/linux/linux-colinux-2.4.28/shortloadbytes.patch')
-rw-r--r--packages/linux/linux-colinux-2.4.28/shortloadbytes.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/linux/linux-colinux-2.4.28/shortloadbytes.patch b/packages/linux/linux-colinux-2.4.28/shortloadbytes.patch
new file mode 100644
index 0000000000..0f0ea1515a
--- /dev/null
+++ b/packages/linux/linux-colinux-2.4.28/shortloadbytes.patch
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
+#
+
+--- linux-2.4.27/arch/arm/Makefile~shortloadbytes 2004-11-27 15:32:10.906865000 -0500
++++ linux-2.4.27/arch/arm/Makefile 2004-11-27 15:32:16.891955488 -0500
+@@ -50,8 +50,8 @@
+ tune-$(CONFIG_CPU_SA110) :=-mtune=strongarm110
+ tune-$(CONFIG_CPU_SA1100) :=-mtune=strongarm1100
+
+-CFLAGS_BOOT :=$(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float -Uarm
+-CFLAGS +=$(apcs-y) $(arch-y) $(tune-y) -mshort-load-bytes -msoft-float -Uarm
++CFLAGS_BOOT :=$(apcs-y) $(arch-y) $(tune-y) $(call check_gcc,-malignment-traps,-mshort-load-bytes) -msoft-float -Uarm
++CFLAGS +=$(apcs-y) $(arch-y) $(tune-y) $(call check_gcc,-malignment-traps,-mshort-load-bytes) -msoft-float -Uarm
+ AFLAGS +=$(apcs-y) $(arch-y) -msoft-float
+
+ ifeq ($(CONFIG_CPU_26),y)