mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
linux-firmware: add install script
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
48d4031aac
commit
a31e5cf091
39
packages/linux-firmware/install
Executable file
39
packages/linux-firmware/install
Executable file
@ -0,0 +1,39 @@
|
|||||||
|
#!/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 firmware in $FIRMWARE; do
|
||||||
|
|
||||||
|
[ $firmware = ipw2100 ] && $SCRIPTS/install ipw2100-fw
|
||||||
|
[ $firmware = ipw2200 ] && $SCRIPTS/install ipw2200-fw
|
||||||
|
[ $firmware = iwl1000 ] && $SCRIPTS/install iwlwifi-1000-ucode
|
||||||
|
[ $firmware = iwl3945 ] && $SCRIPTS/install iwlwifi-3945-ucode
|
||||||
|
[ $firmware = iwl4965 ] && $SCRIPTS/install iwlwifi-4965-ucode
|
||||||
|
[ $firmware = iwl5000 ] && $SCRIPTS/install iwlwifi-5000-ucode
|
||||||
|
[ $firmware = iwl5150 ] && $SCRIPTS/install iwlwifi-5150-ucode
|
||||||
|
[ $firmware = iwl6000 ] && $SCRIPTS/install iwlwifi-6000-ucode
|
||||||
|
[ $firmware = iwl6050 ] && $SCRIPTS/install iwlwifi-6050-ucode
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
|
exit 0
|
@ -34,26 +34,3 @@ PKG_LONGDESC="linux-firmware is a Meta package to install firmware drivers"
|
|||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
|
||||||
for firmware in "$FIRMWARE"; do
|
|
||||||
case $firmware in
|
|
||||||
ipw2100) PKG_DEPENDS="$PKG_DEPENDS ipw2100-fw"
|
|
||||||
;;
|
|
||||||
ipw2200) PKG_DEPENDS="$PKG_DEPENDS ipw2200-fw"
|
|
||||||
;;
|
|
||||||
iwl1000) PKG_DEPENDS="$PKG_DEPENDS iwlwifi-1000-ucode"
|
|
||||||
;;
|
|
||||||
iwl3945) PKG_DEPENDS="$PKG_DEPENDS iwlwifi-3945-ucode"
|
|
||||||
;;
|
|
||||||
iwl4965) PKG_DEPENDS="$PKG_DEPENDS iwlwifi-4965-ucode"
|
|
||||||
;;
|
|
||||||
iwl5000) PKG_DEPENDS="$PKG_DEPENDS iwlwifi-5000-ucode"
|
|
||||||
;;
|
|
||||||
iwl5150) PKG_DEPENDS="$PKG_DEPENDS iwlwifi-5150-ucode"
|
|
||||||
;;
|
|
||||||
iwl6000) PKG_DEPENDS="$PKG_DEPENDS iwlwifi-6000-ucode"
|
|
||||||
;;
|
|
||||||
iwl6050) PKG_DEPENDS="$PKG_DEPENDS iwlwifi-6050-ucode"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user