AF9035 driver

This commit is contained in:
peter 2011-10-10 11:30:25 +02:00 committed by Stephan Raue
parent 4cc168321b
commit 1fcf031ae3
10 changed files with 123 additions and 14 deletions

View File

@ -0,0 +1,32 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
cd $PKG_BUILD
# fix some directives after unpacking
sed -i "s|KDIR = .*|KDIR = $(kernel_path)|" Makefile
sed -i "s|KSRC = .*|KSRC = \$KDIR|" Makefile
sed -i "s|KINS = .*|KINS = \./modules|" Makefile
make CC=$CC

View File

@ -0,0 +1,35 @@
#!/bin/sh
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
. config/options $1
VER=`ls $BUILD/linux*/modules/lib/modules`
mkdir -p $INSTALL/lib/modules/$VER/AF9035
cp $PKG_BUILD/dvb-usb-af9035.ko $INSTALL/lib/modules/$VER/AF9035
cp $PKG_BUILD/tua9001.ko $INSTALL/lib/modules/$VER/AF9035
cp $PKG_BUILD/af9033.ko $INSTALL/lib/modules/$VER/AF9035
$ROOT/$TOOLCHAIN/sbin/depmod -b $INSTALL $VER > /dev/null
for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v modules.alias | grep -v modules.symbols`; do
rm -f $i
done

View File

@ -0,0 +1,35 @@
################################################################################
# This file is part of OpenELEC - http://www.openelec.tv
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
#
# This Program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This Program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with OpenELEC.tv; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="AF9035"
PKG_VERSION="2.6.38"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="GPL"
PKG_SITE="http://www.abclinuxu.cz/hardware/pridavne-karty/televizni-karty/dvb-t/usb/aver-tv-volar-hd-a835"
PKG_URL="http://xgazza.altervista.org/Linux/DVB/Drivers/${PKG_NAME}_${PKG_VERSION}.tar.bz2"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain linux busybox-hosttools"
PKG_PRIORITY="optional"
PKG_SECTION="driver"
PKG_SHORTDESC="AF9035 driver: Afa Technologies Inc. AF9035A USB Device"
PKG_LONGDESC="AF9035 driver: Afa Technologies Inc. AF9035A USB Device"
PKG_IS_ADDON="no"
PKG_AUTORECONF="no"

View File

@ -138,10 +138,11 @@
BLURAY_SUPPORT="yes"
# additional drivers to install:
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx"
ADDITIONAL_DRIVERS="asix-ax887xx"
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
# build with network support (yes / no)
NETWORK="yes"

View File

@ -138,10 +138,11 @@
BLURAY_SUPPORT="yes"
# additional drivers to install:
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx"
ADDITIONAL_DRIVERS="asix-ax887xx"
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
# build with network support (yes / no)
NETWORK="yes"

View File

@ -138,10 +138,11 @@
BLURAY_SUPPORT="yes"
# additional drivers to install:
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx"
ADDITIONAL_DRIVERS="asix-ax887xx"
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
# build with network support (yes / no)
NETWORK="yes"

View File

@ -138,10 +138,11 @@
BLURAY_SUPPORT="yes"
# additional drivers to install:
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx"
ADDITIONAL_DRIVERS="asix-ax887xx"
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
# build with network support (yes / no)
NETWORK="yes"

View File

@ -138,10 +138,11 @@
BLURAY_SUPPORT="yes"
# additional drivers to install:
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx"
ADDITIONAL_DRIVERS="asix-ax887xx"
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
# build with network support (yes / no)
NETWORK="yes"

View File

@ -138,10 +138,11 @@
BLURAY_SUPPORT="yes"
# additional drivers to install:
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx"
ADDITIONAL_DRIVERS="asix-ax887xx"
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
# build with network support (yes / no)
NETWORK="yes"

View File

@ -138,10 +138,11 @@
BLURAY_SUPPORT="yes"
# additional drivers to install:
# AF9035: Afa Technologies Inc. AF9035A USB DVB Device
# asix-ax887xx: Asix AX887xx USB LAN Driver
# Space separated list is supported,
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx"
ADDITIONAL_DRIVERS="asix-ax887xx"
# e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
ADDITIONAL_DRIVERS="asix-ax887xx AF9035"
# build with network support (yes / no)
NETWORK="yes"