linux-neuros 2.6.15: add patch to build with gcc4, still needs better defconfig and...
authorKoen Kooi <koen@openembedded.org>
Mon, 30 Jun 2008 18:05:42 +0000 (18:05 +0000)
committerKoen Kooi <koen@openembedded.org>
Mon, 30 Jun 2008 18:05:42 +0000 (18:05 +0000)
packages/linux/linux-neuros/mtune-gcc4-fix.patch [new file with mode: 0644]
packages/linux/linux-neuros_2.6.15.bb

diff --git a/packages/linux/linux-neuros/mtune-gcc4-fix.patch b/packages/linux/linux-neuros/mtune-gcc4-fix.patch
new file mode 100644 (file)
index 0000000..c42a5ae
--- /dev/null
@@ -0,0 +1,11 @@
+--- /tmp/Makefile      2008-06-30 19:58:09.000000000 +0200
++++ linux-2.6.15/arch/arm/Makefile     2008-06-30 19:58:53.000000000 +0200
+@@ -55,7 +55,7 @@
+ tune-$(CONFIG_CPU_ARM922T)    :=-mtune=arm9tdmi
+ tune-$(CONFIG_CPU_ARM925T)    :=-mtune=arm9tdmi
+ #tune-$(CONFIG_CPU_ARM926T)   :=-mtune=arm9tdmi
+-tune-$(CONFIG_CPU_ARM926T)    :=-mtune=arm926ejs
++tune-$(CONFIG_CPU_ARM926T)    :=-mtune=arm926ej-s
+ tune-$(CONFIG_CPU_SA110)      :=-mtune=strongarm110
+ tune-$(CONFIG_CPU_SA1100)     :=-mtune=strongarm1100
+ tune-$(CONFIG_CPU_XSCALE)     :=$(call cc-option,-mtune=xscale,-mtune=strongarm110) -Wa,-mcpu=xscale
index 82df2f4..f103d2c 100644 (file)
@@ -1,7 +1,7 @@
 #require linux-omap.inc
 
 PV = "2.6.15-torfu"
-PR = "r4"
+PR = "r5"
 
 COMPATIBLE_MACHINE = "(neuros-osd)"
 
@@ -10,6 +10,7 @@ COMPATIBLE_MACHINE = "(neuros-osd)"
 SRC_URI = "svn://svn.neurostechnology.com/svn/neuros-bsp/branches/torfu/kernels;module=linux-2.6.15;proto=svn;rev= \
        file://g0-20080113.patch;patch=1\
        file://bsp_config.h \
+       file://mtune-gcc4-fix.patch;patch=1 \ 
        file://defconfig"
 
 S = "${WORKDIR}/linux-2.6.15"