From 48d4031aac7d453e4d941d1a3d421d5d107367eb Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Tue, 18 Jan 2011 10:44:56 +0100 Subject: [PATCH] linux-drvers: add install script Signed-off-by: Stephan Raue --- packages/linux-drivers/install | 30 ++++++++++++++++++++++++++++++ packages/linux-drivers/meta | 11 ----------- 2 files changed, 30 insertions(+), 11 deletions(-) create mode 100755 packages/linux-drivers/install diff --git a/packages/linux-drivers/install b/packages/linux-drivers/install new file mode 100755 index 0000000000..c2c754f9b8 --- /dev/null +++ b/packages/linux-drivers/install @@ -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 diff --git a/packages/linux-drivers/meta b/packages/linux-drivers/meta index 698a3a5f07..06228d1379 100644 --- a/packages/linux-drivers/meta +++ b/packages/linux-drivers/meta @@ -34,14 +34,3 @@ PKG_LONGDESC="linux-drivers is a Meta package to install additional drivers" PKG_IS_ADDON="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