[oe] [meta-handheld 02/12] linux.inc: drop a hack for kernels <= 2.6.29

Dmitry Eremin-Solenikov dbaryshkov at gmail.com
Wed Sep 7 14:02:57 UTC 2011


linux.inc isn't used with such old kernels anymore, drop the hack.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov at gmail.com>
---
 recipes-kernel/linux/linux.inc |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)

diff --git a/recipes-kernel/linux/linux.inc b/recipes-kernel/linux/linux.inc
index a30ea70..09dee86 100644
--- a/recipes-kernel/linux/linux.inc
+++ b/recipes-kernel/linux/linux.inc
@@ -73,18 +73,6 @@ python __anonymous () {
 }
 
 do_configure_prepend() {
-
-        # Rename getline in ./scripts/unifdef.c
-        # Kernels up to 2.6.29 are currently failing to build unifdef.c,
-        # clashing with exposed getline() from <stdio.h>
-        # see https://patchwork.kernel.org/patch/11166/
-        # committed in 2.6.29 (commit d15bd1067b1fcb2b7250d22bc0c7c7fea0b759f7)
-
-        if [ -e ${S}/scripts/unifdef.c ]; then
-                sed -i -e 's/getline/parseline/g' ${S}/scripts/unifdef.c
-        fi
-
-
         echo "" > ${S}/.config
 
         #
-- 
1.7.2.5





More information about the Openembedded-devel mailing list