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

login
register
mail settings
Submitter lumag
Date Sept. 7, 2011, 2:02 p.m.
Message ID <1315404187-18176-3-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/11179/
State Accepted, archived
Headers show

Comments

lumag - Sept. 7, 2011, 2:02 p.m.
linux.inc isn't used with such old kernels anymore, drop the hack.

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

Patch

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
 
         #