mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
linux-firmware: rework firmware packages, we have our now our own firmware repos at https://github.com/OpenELEC/dvb-firmware and https://github.com/OpenELEC/wlan-firmware, this saves us much space again :-)
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
14ebb58d15
commit
123136a069
@ -1,38 +0,0 @@
|
|||||||
#!/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
|
|
||||||
|
|
||||||
if [ "$FIRMWARE" = "external" ]; then
|
|
||||||
mkdir -p $INSTALL/lib/firmware
|
|
||||||
cp -R $PKG_BUILD/* $INSTALL/lib/firmware
|
|
||||||
fi
|
|
||||||
|
|
||||||
for firmware in $ADDITIONAL_FIRMWARE; do
|
|
||||||
[ $firmware = b43 ] && $SCRIPTS/install b43-fw
|
|
||||||
[ $firmware = ipw2100 ] && $SCRIPTS/install ipw2100-fw
|
|
||||||
[ $firmware = ipw2200 ] && $SCRIPTS/install ipw2200-fw
|
|
||||||
[ $firmware = zd1211 ] && $SCRIPTS/install zd1211-firmware
|
|
||||||
[ $firmware = dvb-firmware ] && $SCRIPTS/install linuxtv-dvb-firmware
|
|
||||||
done
|
|
||||||
|
|
||||||
exit 0
|
|
@ -18,19 +18,19 @@
|
|||||||
# http://www.gnu.org/copyleft/gpl.html
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
PKG_NAME="linux-firmware"
|
PKG_NAME="firmware"
|
||||||
PKG_VERSION="20110222"
|
PKG_VERSION=""
|
||||||
PKG_REV="1"
|
PKG_REV="1"
|
||||||
PKG_ARCH="any"
|
PKG_ARCH="any"
|
||||||
PKG_LICENSE="GPL"
|
PKG_LICENSE="GPL"
|
||||||
PKG_SITE="http://git.kernel.org/?p=linux/kernel/git/dwmw2/linux-firmware.git;a=tree"
|
PKG_SITE=""
|
||||||
PKG_URL="http://www.kernel.org/pub/linux/kernel/people/dwmw2/firmware/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
PKG_URL=""
|
||||||
PKG_DEPENDS=""
|
PKG_DEPENDS="$FIRMWARE"
|
||||||
PKG_BUILD_DEPENDS="toolchain"
|
PKG_BUILD_DEPENDS="toolchain"
|
||||||
PKG_PRIORITY="optional"
|
PKG_PRIORITY="optional"
|
||||||
PKG_SECTION="linux-firmware"
|
PKG_SECTION="firmware"
|
||||||
PKG_SHORTDESC="linux-firmware: various free firmware drivers"
|
PKG_SHORTDESC="firmware: various free firmware drivers"
|
||||||
PKG_LONGDESC="linux-firmware is a package to install various free firmware drivers"
|
PKG_LONGDESC="firmware is a meta-package to install various free firmware drivers"
|
||||||
PKG_IS_ADDON="no"
|
PKG_IS_ADDON="no"
|
||||||
|
|
||||||
PKG_AUTORECONF="no"
|
PKG_AUTORECONF="no"
|
||||||
|
@ -37,12 +37,10 @@ for i in `ls $INSTALL/lib/modules/*/modules.* | grep -v modules.dep | grep -v mo
|
|||||||
rm -f $i
|
rm -f $i
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$FIRMWARE" = "internal" ]; then
|
# copy kernel firmwares (if present and requested)
|
||||||
# copy kernel firmwares (if present and requested)
|
mkdir -p $INSTALL/lib/firmware
|
||||||
mkdir -p $INSTALL/lib/firmware
|
[ -d $PKG_BUILD/modules/lib/firmware ] && \
|
||||||
[ -d $PKG_BUILD/modules/lib/firmware ] && \
|
cp -rf $PKG_BUILD/modules/lib/firmware/* $INSTALL/lib/firmware || true
|
||||||
cp -rf $PKG_BUILD/modules/lib/firmware/* $INSTALL/lib/firmware || true
|
|
||||||
fi
|
|
||||||
|
|
||||||
mkdir -p $INSTALL/etc
|
mkdir -p $INSTALL/etc
|
||||||
cp $PKG_DIR/config/modules $INSTALL/etc
|
cp $PKG_DIR/config/modules $INSTALL/etc
|
||||||
|
@ -181,13 +181,10 @@
|
|||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="none"
|
LCD_DRIVER="none"
|
||||||
|
|
||||||
# build internal (in Kernel) or external Firmware (internal / external)"
|
# additional Firmware to use (dvb-firmware, wlan-firmware)
|
||||||
FIRMWARE="external"
|
|
||||||
|
|
||||||
# additional Firmware to use (dvb-firmware, b43, ipw2100, ipw2200, zd1211)
|
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. FIRMWARE="dvb-firmware b43"
|
# e.g. FIRMWARE="dvb-firmware, wlan-firmware"
|
||||||
ADDITIONAL_FIRMWARE="dvb-firmware zd1211"
|
FIRMWARE="dvb-firmware wlan-firmware"
|
||||||
|
|
||||||
# build with lm_sensors hardware monitoring support (yes / no)
|
# build with lm_sensors hardware monitoring support (yes / no)
|
||||||
SENSOR_SUPPORT="yes"
|
SENSOR_SUPPORT="yes"
|
||||||
|
@ -181,13 +181,10 @@
|
|||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="irtrans,imon"
|
LCD_DRIVER="irtrans,imon"
|
||||||
|
|
||||||
# build internal (in Kernel) or external Firmware (internal / external)"
|
# additional Firmware to use (dvb-firmware, wlan-firmware)
|
||||||
FIRMWARE="external"
|
|
||||||
|
|
||||||
# additional Firmware to use (dvb-firmware, b43, ipw2100, ipw2200, zd1211)
|
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. FIRMWARE="dvb-firmware b43"
|
# e.g. FIRMWARE="dvb-firmware, wlan-firmware"
|
||||||
ADDITIONAL_FIRMWARE="b43 ipw2100 ipw2200 dvb-firmware zd1211"
|
FIRMWARE="dvb-firmware wlan-firmware"
|
||||||
|
|
||||||
# build with lm_sensors hardware monitoring support (yes / no)
|
# build with lm_sensors hardware monitoring support (yes / no)
|
||||||
SENSOR_SUPPORT="yes"
|
SENSOR_SUPPORT="yes"
|
||||||
|
@ -181,13 +181,10 @@
|
|||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="irtrans,imon"
|
LCD_DRIVER="irtrans,imon"
|
||||||
|
|
||||||
# build internal (in Kernel) or external Firmware (internal / external)"
|
# additional Firmware to use (dvb-firmware, wlan-firmware)
|
||||||
FIRMWARE="external"
|
|
||||||
|
|
||||||
# additional Firmware to use (dvb-firmware, b43, ipw2100, ipw2200, zd1211)
|
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. FIRMWARE="dvb-firmware, b43"
|
# e.g. FIRMWARE="dvb-firmware, wlan-firmware"
|
||||||
ADDITIONAL_FIRMWARE="dvb-firmware zd1211"
|
FIRMWARE="dvb-firmware wlan-firmware"
|
||||||
|
|
||||||
# build with lm_sensors hardware monitoring support (yes / no)
|
# build with lm_sensors hardware monitoring support (yes / no)
|
||||||
SENSOR_SUPPORT="yes"
|
SENSOR_SUPPORT="yes"
|
||||||
|
@ -181,13 +181,10 @@
|
|||||||
# "none" for disable LCD support
|
# "none" for disable LCD support
|
||||||
LCD_DRIVER="irtrans,imon"
|
LCD_DRIVER="irtrans,imon"
|
||||||
|
|
||||||
# build internal (in Kernel) or external Firmware (internal / external)"
|
# additional Firmware to use (dvb-firmware, wlan-firmware)
|
||||||
FIRMWARE="external"
|
|
||||||
|
|
||||||
# additional Firmware to use (dvb-firmware, b43, ipw2100, ipw2200, zd1211)
|
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. FIRMWARE="dvb-firmware b43"
|
# e.g. FIRMWARE="dvb-firmware, wlan-firmware"
|
||||||
ADDITIONAL_FIRMWARE="b43 dvb-firmware zd1211"
|
FIRMWARE="dvb-firmware wlan-firmware"
|
||||||
|
|
||||||
# build with lm_sensors hardware monitoring support (yes / no)
|
# build with lm_sensors hardware monitoring support (yes / no)
|
||||||
SENSOR_SUPPORT="yes"
|
SENSOR_SUPPORT="yes"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user