mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 18:23:02 +01:00
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>
17 lines
507 B
Diff
17 lines
507 B
Diff
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"
|
|
|
|
/*
|