From 777cbc76b1c73cb390d5bcd75d78ea57ebd02bc2 Mon Sep 17 00:00:00 2001 From: Stefan Saraev Date: Fri, 3 May 2013 13:33:37 +0300 Subject: [PATCH] linux-tbs-drivers: update to linux-tbs-drivers-130429 this is a dirty workaround, because it seems like tbs can't do it right. again in linux tbs driver changelog I see: 2. XXXXXX Linux Driver is updated to v130429, which has below updating * Further improve Linux kernel 3.9.x compatibility. which is, in fact, not true, after quick diff I realized that they changed exactly nothing. next time tbs should do their job, instead of announcing support for 'kernel xxx' why would we support this driver in the future ? it's not our job to fix broken drivers now and then. --- packages/linux-drivers/linux-tbs-drivers/build | 10 ++++++++-- packages/linux-drivers/linux-tbs-drivers/meta | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/packages/linux-drivers/linux-tbs-drivers/build b/packages/linux-drivers/linux-tbs-drivers/build index b9374a5563..1cc10c809e 100755 --- a/packages/linux-drivers/linux-tbs-drivers/build +++ b/packages/linux-drivers/linux-tbs-drivers/build @@ -30,7 +30,13 @@ cd $BUILD/${PKG_NAME}-${PKG_VERSION}/linux-tbs-drivers LDFLAGS="" make DIR=$(kernel_path) prepare sed -i -e "s|^CONFIG_IR_LIRC_CODEC=.*$|# CONFIG_IR_LIRC_CODEC is not set|" v4l/.config -# linux 3.9 temp build fix -sed -i -e "s|^CONFIG_VIDEO_PVRUSB2=.*$|# CONFIG_VIDEO_PVRUSB2 is not set|" v4l/.config +find . -iname *.c | xargs sed -i -e "s|__devinit||" +find . -iname *.h | xargs sed -i -e "s|__devinit||" +find . -iname *.c | xargs sed -i -e "s|__devexit||" +find . -iname *.h | xargs sed -i -e "s|__devexit||" + +for cfg in CONFIG_VIDEO_SH_MOBILE_CEU ; do + sed -i -e "s|^$cfg=.*$|# $cfg is not set|" v4l/.config +done LDFLAGS="" make DIR=$(kernel_path) diff --git a/packages/linux-drivers/linux-tbs-drivers/meta b/packages/linux-drivers/linux-tbs-drivers/meta index bf92a1873b..10b61d64c8 100644 --- a/packages/linux-drivers/linux-tbs-drivers/meta +++ b/packages/linux-drivers/linux-tbs-drivers/meta @@ -19,7 +19,7 @@ ################################################################################ PKG_NAME="linux-tbs-drivers" -PKG_VERSION="130318" +PKG_VERSION="130429" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL"