diff --git a/packages/linux-drivers/A867/build b/packages/linux-drivers/A867/build new file mode 100755 index 0000000000..6af8ed7859 --- /dev/null +++ b/packages/linux-drivers/A867/build @@ -0,0 +1,26 @@ +#!/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 + make V=1 CC=$CC KDIR=$(kernel_path) \ No newline at end of file diff --git a/packages/linux-drivers/A867/install b/packages/linux-drivers/A867/install new file mode 100755 index 0000000000..781fd9e16e --- /dev/null +++ b/packages/linux-drivers/A867/install @@ -0,0 +1,28 @@ +#!/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/A867 + cp $PKG_BUILD/dvb-usb-a867.ko $INSTALL/lib/modules/$VER/A867/ diff --git a/packages/linux-drivers/A867/meta b/packages/linux-drivers/A867/meta new file mode 100644 index 0000000000..a2768c4db9 --- /dev/null +++ b/packages/linux-drivers/A867/meta @@ -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="A867" +PKG_VERSION="kernel_3.0.0" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="https://github.com/ambrosa/A867_kernel_3.0.0" +PKG_URL="$DISTRO_SRC/${PKG_NAME}_${PKG_VERSION}.tar.xz" +PKG_DEPENDS="" +PKG_BUILD_DEPENDS="toolchain linux" +PKG_PRIORITY="optional" +PKG_SECTION="driver" +PKG_SHORTDESC="AVerTV Volar HD Nano A867R driver" +PKG_LONGDESC="AVerTV Volar HD Nano A867R driver" +PKG_IS_ADDON="no" +PKG_AUTORECONF="no" diff --git a/projects/ATV/options b/projects/ATV/options index e40eea9a04..eb803fbcba 100755 --- a/projects/ATV/options +++ b/projects/ATV/options @@ -160,7 +160,7 @@ # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" ADDITIONAL_DRIVERS="asix-ax887xx bcm_sta" if [ "$PVR" = yes ]; then - ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d" + ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d" fi # build with network support (yes / no) diff --git a/projects/Fusion/options b/projects/Fusion/options index 30bf48ff5e..c3e27d7105 100755 --- a/projects/Fusion/options +++ b/projects/Fusion/options @@ -160,7 +160,7 @@ # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" ADDITIONAL_DRIVERS="asix-ax887xx" if [ "$PVR" = yes ]; then - ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d" + ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d" fi # build with network support (yes / no) diff --git a/projects/Generic/options b/projects/Generic/options index 3863101bd4..27d86dc514 100755 --- a/projects/Generic/options +++ b/projects/Generic/options @@ -160,7 +160,7 @@ # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" ADDITIONAL_DRIVERS="asix-ax887xx" if [ "$PVR" = yes ]; then - ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d" + ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d" fi # build with network support (yes / no) diff --git a/projects/Generic_OSS/options b/projects/Generic_OSS/options index d4fc7bda6c..b10f158bb8 100755 --- a/projects/Generic_OSS/options +++ b/projects/Generic_OSS/options @@ -160,7 +160,7 @@ # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" ADDITIONAL_DRIVERS="asix-ax887xx" if [ "$PVR" = yes ]; then - ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d" + ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d" fi # build with network support (yes / no) diff --git a/projects/ION/options b/projects/ION/options index 7630b473b6..5cb030864a 100755 --- a/projects/ION/options +++ b/projects/ION/options @@ -160,7 +160,7 @@ # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" ADDITIONAL_DRIVERS="asix-ax887xx" if [ "$PVR" = yes ]; then - ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d" + ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d" fi # build with network support (yes / no) diff --git a/projects/Intel/options b/projects/Intel/options index 43229f76bf..c8fd3a11d6 100755 --- a/projects/Intel/options +++ b/projects/Intel/options @@ -160,7 +160,7 @@ # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" ADDITIONAL_DRIVERS="asix-ax887xx" if [ "$PVR" = yes ]; then - ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d" + ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d" fi # build with network support (yes / no) diff --git a/projects/Ultra/options b/projects/Ultra/options index f0b55e8948..13c5991322 100755 --- a/projects/Ultra/options +++ b/projects/Ultra/options @@ -160,7 +160,7 @@ # e.g. ADDITIONAL_DRIVERS="asix-ax887xx AF9035" ADDITIONAL_DRIVERS="asix-ax887xx" if [ "$PVR" = yes ]; then - ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 a867_drv aver_h826d" + ADDITIONAL_DRIVERS="$ADDITIONAL_DRIVERS AF9035 A867 aver_h826d" fi # build with network support (yes / no)