mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
add new package 'wetekdvb', remove wetek dvb drivers, firmwares and systemd startscript
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
b4ab1029ba
commit
be445f0b4e
52
packages/linux-drivers/wetekdvb/package.mk
Normal file
52
packages/linux-drivers/wetekdvb/package.mk
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# OpenELEC 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 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# OpenELEC 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. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
PKG_NAME="wetekdvb"
|
||||||
|
PKG_VERSION="20150304"
|
||||||
|
PKG_REV="1"
|
||||||
|
PKG_ARCH="arm"
|
||||||
|
PKG_LICENSE="nonfree"
|
||||||
|
PKG_SITE="http://www.wetek.com/"
|
||||||
|
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.xz"
|
||||||
|
PKG_DEPENDS_TARGET="toolchain linux"
|
||||||
|
PKG_NEED_UNPACK="$LINUX_DEPENDS"
|
||||||
|
PKG_PRIORITY="optional"
|
||||||
|
PKG_SECTION="driver"
|
||||||
|
PKG_SHORTDESC="wetekdvb: Wetek DVB driver"
|
||||||
|
PKG_LONGDESC="These package contains Wetek's DVB driver "
|
||||||
|
|
||||||
|
PKG_IS_ADDON="no"
|
||||||
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
|
make_target() {
|
||||||
|
: # nothing todo
|
||||||
|
}
|
||||||
|
|
||||||
|
makeinstall_target() {
|
||||||
|
mkdir -p $INSTALL/lib/modules/$(get_module_dir)/$PKG_NAME
|
||||||
|
cp driver/*.ko $INSTALL/lib/modules/$(get_module_dir)/$PKG_NAME
|
||||||
|
|
||||||
|
mkdir -p $INSTALL/lib/firmware
|
||||||
|
cp firmware/* $INSTALL/lib/firmware
|
||||||
|
}
|
||||||
|
|
||||||
|
post_makeinstall_target() {
|
||||||
|
# load wetekdvb driver by default, it cant be loaded via udev
|
||||||
|
mkdir -p $INSTALL/usr/lib/modules-load.d
|
||||||
|
echo "wetekdvb" > $INSTALL/usr/lib/modules-load.d/wetekdvb.conf
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=WeTek DVB driver
|
|
||||||
DefaultDependencies=no
|
|
||||||
Before=local-fs.target shutdown.target
|
|
||||||
Conflicts=shutdown.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=oneshot
|
|
||||||
ExecStart=/sbin/insmod /lib/modules/wetekdvb.ko
|
|
||||||
RemainAfterExit=yes
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=local-fs.target
|
|
@ -117,7 +117,7 @@
|
|||||||
# for a list of additinoal drivers see packages/linux-drivers
|
# for a list of additinoal drivers see packages/linux-drivers
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
# e.g. ADDITIONAL_DRIVERS="DRIVER1 DRIVER2"
|
||||||
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8188EU"
|
ADDITIONAL_DRIVERS="RTL8192CU RTL8192DU RTL8188EU wetekdvb"
|
||||||
|
|
||||||
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user