summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-06-30 18:05:42 +0000
committerKoen Kooi <koen@openembedded.org>2008-06-30 18:05:42 +0000
commit39b44ff0ab17cd89ccbdd971201a671349558adc (patch)
tree4414b99c529127e369b978d4b7b93b2270b0558e /packages
parent92a3b502575e078cb62bb12153f3be30900db601 (diff)
linux-neuros 2.6.15: add patch to build with gcc4, still needs better defconfig and EABI patches
Diffstat (limited to 'packages')
-rw-r--r--packages/linux/linux-neuros/mtune-gcc4-fix.patch11
-rw-r--r--packages/linux/linux-neuros_2.6.15.bb3
2 files changed, 13 insertions, 1 deletions
diff --git a/packages/linux/linux-neuros/mtune-gcc4-fix.patch b/packages/linux/linux-neuros/mtune-gcc4-fix.patch
new file mode 100644
index 0000000000..c42a5ae863
--- /dev/null
+++ b/packages/linux/linux-neuros/mtune-gcc4-fix.patch
@@ -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
diff --git a/packages/linux/linux-neuros_2.6.15.bb b/packages/linux/linux-neuros_2.6.15.bb
index 82df2f44bd..f103d2c35f 100644
--- a/packages/linux/linux-neuros_2.6.15.bb
+++ b/packages/linux/linux-neuros_2.6.15.bb
@@ -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"