summaryrefslogtreecommitdiff
path: root/meta/packages/linux/files/sumversion-fix.patch
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-05-13 16:55:26 +0100
committerJoshua Lock <josh@linux.intel.com>2010-05-13 16:55:26 +0100
commit505c26951b14898cb9ede7c4cb76217202b655c4 (patch)
treecb8dcbf5af8e74ddfbf3716504c9f0de5ca5f212 /meta/packages/linux/files/sumversion-fix.patch
parentad136ddeef5cc70ec76967b0560da42898e33e70 (diff)
downloadopenembedded-core-505c26951b14898cb9ede7c4cb76217202b655c4.tar.gz
openembedded-core-505c26951b14898cb9ede7c4cb76217202b655c4.tar.bz2
openembedded-core-505c26951b14898cb9ede7c4cb76217202b655c4.zip
linux: Ensure we have buildable kernel recipes for each machine
Fix various kernels to build with our toolchain, this includes well known fixes for: * sumversion.c: compilation failing with a 'PATH_MAX' undeclared (fixed by adding limits.h to sumversions includes * a patch taken from oe.dev to stop GCC >= 4.3 from optimizing a loop which causes compilation to fail * Fixing the KERNEL_OUTPUT for mx31 and nokia800 kernel recipes Signed-off-by: Joshua Lock <josh@linux.intel.com>
Diffstat (limited to 'meta/packages/linux/files/sumversion-fix.patch')
-rw-r--r--meta/packages/linux/files/sumversion-fix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/packages/linux/files/sumversion-fix.patch b/meta/packages/linux/files/sumversion-fix.patch
new file mode 100644
index 0000000000..8158d9d5f8
--- /dev/null
+++ b/meta/packages/linux/files/sumversion-fix.patch
@@ -0,0 +1,16 @@
+Fix compilation of the sumversion "script"
+
+http://bugs.gentoo.org/show_bug.cgi?format=multiple&id=226169
+
+Index: linux-2.6.21/scripts/mod/sumversion.c
+===================================================================
+--- linux-2.6.21.orig/scripts/mod/sumversion.c 2007-04-26 04:08:32.000000000 +0100
++++ linux-2.6.21/scripts/mod/sumversion.c 2010-05-13 14:41:31.777882280 +0100
+@@ -7,6 +7,7 @@
+ #include <ctype.h>
+ #include <errno.h>
+ #include <string.h>
++#include <limits.h>
+ #include "modpost.h"
+
+ /*