mirror of
https://git.yoctoproject.org/poky
synced 2026-06-10 04:00:28 +00:00
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>
This commit is contained in:
@@ -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"
|
||||
|
||||
/*
|
||||
Reference in New Issue
Block a user