mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-30 14:16:40 +00:00
linux-drvers: add install script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
16098bb995
commit
48d4031aac
30
packages/linux-drivers/install
Executable file
30
packages/linux-drivers/install
Executable file
@ -0,0 +1,30 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
for drivers in "$ADDITIONAL_DRIVERS"; do
|
||||||
|
[ $drivers = bcm_sta ] && $SCRIPTS/install bcm_sta
|
||||||
|
[ $drivers = rtl8192se ] && $SCRIPTS/install rtl8192se
|
||||||
|
done
|
||||||
|
|
||||||
|
exit 0
|
@ -34,14 +34,3 @@ PKG_LONGDESC="linux-drivers is a Meta package to install additional drivers"
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
for drivers in "$ADDITIONAL_DRIVERS"; do
|
|
||||||
case $drivers in
|
|
||||||
|
|
||||||
rtl8192se) PKG_DEPENDS="$PKG_DEPENDS rtl8192se"
|
|
||||||
;;
|
|
||||||
bcm_sta) PKG_DEPENDS="$PKG_DEPENDS bcm_sta"
|
|
||||||
;;
|
|
||||||
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user