2011-01-09 18:46:16 +01:00
|
|
|
################################################################################
|
|
|
|
|
# This file is part of OpenELEC - http://www.openelec.tv
|
2012-02-29 13:11:22 +01:00
|
|
|
# Copyright (C) 2009-2012 Stephan Raue (stephan@openelec.tv)
|
2011-01-09 18:46:16 +01:00
|
|
|
#
|
|
|
|
|
# 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
|
2012-02-29 13:11:22 +01:00
|
|
|
# the Free Software Foundation, 51 Franklin Street, Suite 500, Boston, MA 02110, USA.
|
2011-01-09 18:46:16 +01:00
|
|
|
# http://www.gnu.org/copyleft/gpl.html
|
|
|
|
|
################################################################################
|
|
|
|
|
|
2010-07-29 19:34:44 +02:00
|
|
|
PKG_NAME="linux"
|
2012-04-23 16:21:54 +02:00
|
|
|
PKG_VERSION="3.2.16"
|
2010-07-29 19:34:44 +02:00
|
|
|
PKG_REV="1"
|
|
|
|
|
PKG_ARCH="any"
|
|
|
|
|
PKG_LICENSE="GPL"
|
|
|
|
|
PKG_SITE="http://www.kernel.org"
|
2011-10-24 21:47:17 +02:00
|
|
|
PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.x/$PKG_NAME-$PKG_VERSION.tar.xz"
|
2012-01-05 13:11:04 +01:00
|
|
|
#PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.x/testing/$PKG_NAME-$PKG_VERSION.tar.xz"
|
2011-09-01 09:35:22 +02:00
|
|
|
PKG_DEPENDS="busybox linux-drivers linux-firmware pciutils"
|
2011-12-17 02:29:10 +01:00
|
|
|
PKG_BUILD_DEPENDS="toolchain module-init-tools xz cpio pciutils"
|
2010-07-29 19:34:44 +02:00
|
|
|
PKG_PRIORITY="optional"
|
|
|
|
|
PKG_SECTION="linux"
|
|
|
|
|
PKG_SHORTDESC="linux26: The Linux kernel 2.6 precompiled kernel binary image and modules"
|
|
|
|
|
PKG_LONGDESC="This package contains a precompiled kernel image and the modules."
|
|
|
|
|
PKG_IS_ADDON="no"
|
2010-11-12 23:14:20 +01:00
|
|
|
|
2010-11-25 18:31:24 +01:00
|
|
|
PKG_AUTORECONF="no"
|
|
|
|
|
|
2011-03-15 18:46:02 +01:00
|
|
|
if [ "$LINUX_NEXT" = "yes" -a "$LINUX" = "default" ]; then
|
2011-07-22 07:29:55 +02:00
|
|
|
PKG_VERSION="3.0"
|
|
|
|
|
PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.0/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
2010-11-12 23:14:20 +01:00
|
|
|
fi
|
2011-03-15 18:46:02 +01:00
|
|
|
|
|
|
|
|
if [ "$LINUX" = "ti-omap4" ]; then
|
2011-03-28 10:17:58 +02:00
|
|
|
PKG_VERSION="2.6.38-ti-omap4"
|
2011-08-17 04:09:54 +02:00
|
|
|
PKG_URL="$DISTRO_SRC/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
2011-03-15 18:46:02 +01:00
|
|
|
fi
|
2011-05-20 10:54:50 -06:00
|
|
|
|
2012-04-22 17:30:14 +02:00
|
|
|
if [ "$LINUX" = "3.1.10" ]; then
|
|
|
|
|
PKG_VERSION="3.1.10"
|
|
|
|
|
PKG_URL="http://www.kernel.org/pub/linux/kernel/v3.x/$PKG_NAME-$PKG_VERSION.tar.xz"
|
|
|
|
|
fi
|
|
|
|
|
|
2011-05-20 10:54:50 -06:00
|
|
|
if [ "$BOOTLOADER" = "atv-bootloader" ]; then
|
|
|
|
|
PKG_DEPENDS="$PKG_DEPENDS atv-bootloader"
|
|
|
|
|
fi
|
2012-02-03 20:13:51 +01:00
|
|
|
|
|
|
|
|
if [ "$BOOTLOADER" = "bcm2835-bootloader" ]; then
|
|
|
|
|
PKG_DEPENDS="$PKG_DEPENDS bcm2835-bootloader"
|
|
|
|
|
fi
|