summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2006-05-21 17:25:29 +0000
committerJoshua Kinard <kumba@gentoo.org>2006-05-21 17:25:29 +0000
commit2f1a9b5db75c14ad627be0068ca08ff6a0fd5257 (patch)
treef6815781001b30c7ff84e327a4c63e7a1e38b34f /sys-kernel/mips-headers
parentStable on ppc64 (diff)
downloadgentoo-2-2f1a9b5db75c14ad627be0068ca08ff6a0fd5257.tar.gz
gentoo-2-2f1a9b5db75c14ad627be0068ca08ff6a0fd5257.tar.bz2
gentoo-2-2f1a9b5db75c14ad627be0068ca08ff6a0fd5257.zip
Update to 2.6.16.16.
(Portage version: 2.1_rc1-r2)
Diffstat (limited to 'sys-kernel/mips-headers')
-rw-r--r--sys-kernel/mips-headers/ChangeLog8
-rw-r--r--sys-kernel/mips-headers/files/digest-mips-headers-2.6.16.1615
-rw-r--r--sys-kernel/mips-headers/mips-headers-2.6.16.16.ebuild109
3 files changed, 131 insertions, 1 deletions
diff --git a/sys-kernel/mips-headers/ChangeLog b/sys-kernel/mips-headers/ChangeLog
index f34ad32a17ff..410155bf97b4 100644
--- a/sys-kernel/mips-headers/ChangeLog
+++ b/sys-kernel/mips-headers/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-kernel/mips-headers
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-headers/ChangeLog,v 1.35 2006/04/30 17:48:21 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-headers/ChangeLog,v 1.36 2006/05/21 17:25:29 kumba Exp $
+
+*mips-headers-2.6.16.16 (21 May 2006)
+
+ 21 May 2006; Joshua Kinard <kumba@gentoo.org>
+ +mips-headers-2.6.16.16.ebuild:
+ Update to 2.6.16.16.
30 Apr 2006; Joshua Kinard <kumba@gentoo.org>
mips-headers-2.6.14.4.ebuild:
diff --git a/sys-kernel/mips-headers/files/digest-mips-headers-2.6.16.16 b/sys-kernel/mips-headers/files/digest-mips-headers-2.6.16.16
new file mode 100644
index 000000000000..4567458341c6
--- /dev/null
+++ b/sys-kernel/mips-headers/files/digest-mips-headers-2.6.16.16
@@ -0,0 +1,15 @@
+MD5 9a91b2719949ff0856b40bc467fd47be linux-2.6.16.tar.bz2 40845005
+RMD160 af5c2f55733fadd2fdf8b00da55e7b31d516d4e8 linux-2.6.16.tar.bz2 40845005
+SHA256 1200dcc7e60fcdaf68618dba991917a47e41e67099e8b22143976ec972e2cad7 linux-2.6.16.tar.bz2 40845005
+MD5 5ad0f20ebd3454831602382c2b09128b mips-headers-patches-1.4.tar.bz2 35333
+RMD160 794fa753965e7fdb0206613426312a4256a9aa87 mips-headers-patches-1.4.tar.bz2 35333
+SHA256 c4f0980e2ea044182288cf3e15ef1fe6036b32fb732aa78fb2a43520ee9c7063 mips-headers-patches-1.4.tar.bz2 35333
+MD5 d56f5770d589815520cdfefaf4cb26f1 mips-sources-generic_patches-1.21.tar.bz2 324615
+RMD160 50b1cdb70c31f052bc94cea30cbbc8b782f06315 mips-sources-generic_patches-1.21.tar.bz2 324615
+SHA256 5bc6d161f1c2181864d4fc0fb773249056102e84b0ab4e3837ef4b7c8c475921 mips-sources-generic_patches-1.21.tar.bz2 324615
+MD5 1e6d0c4e9586cf6cc7395e48059066d8 mipsgit-2.6.16-20060320.diff.bz2 133698
+RMD160 fa75efb28512d53a60c0481c9646a59453fc4c34 mipsgit-2.6.16-20060320.diff.bz2 133698
+SHA256 01d3833021941de897af7f113236b461264be72af9df2f007fed7cefd9e8ff33 mipsgit-2.6.16-20060320.diff.bz2 133698
+MD5 f1047a7650d06562957166a85ea4b4ef patch-2.6.16.16.bz2 44544
+RMD160 2a7ed9ee7680cdf553a5913a6d94db0ac66d68e1 patch-2.6.16.16.bz2 44544
+SHA256 ee01cfeb9aea57133ee53d9ffdca9728562a6a56e4fbea2c5f7449cb27719b84 patch-2.6.16.16.bz2 44544
diff --git a/sys-kernel/mips-headers/mips-headers-2.6.16.16.ebuild b/sys-kernel/mips-headers/mips-headers-2.6.16.16.ebuild
new file mode 100644
index 000000000000..ab4df27ce91b
--- /dev/null
+++ b/sys-kernel/mips-headers/mips-headers-2.6.16.16.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-headers/mips-headers-2.6.16.16.ebuild,v 1.1 2006/05/21 17:25:29 kumba Exp $
+
+# Eclass bits
+ETYPE="headers"
+H_SUPPORTEDARCH="mips"
+UNIPATCH_STRICTORDER="1"
+inherit kernel-2 versionator
+detect_version
+
+# Version Data
+OKV=${PV/_/-}
+GITDATE="20060320" # Date of diff between kernel.org and lmo GIT
+GENPATCHVER="1.21" # Tarball version for generic patches
+HEAPATCHVER="1.4"
+F_KV="${OKV}"
+EXTRAVERSION="-mipsgit-${GITDATE}"
+USEPNT="yes"
+
+# INCLUDED:
+# 1) linux sources from kernel.org
+# 2) linux-mips.org GIT snapshot diff from 15 Jan 2005
+# 4) Generic mips patches
+
+
+# If USEPNT == "yes", use a point release kernel (2.6.x.y)
+if [ "${USEPNT}" = "yes" ]; then
+ F_KV="$(get_version_component_range 1-3)"
+ PNT_KV="$(get_version_component_range 4)"
+ EXTRAVERSION=".${PNT_KV}-mipsgit-${GITDATE}"
+ KV="${OKV}${EXTRAVERSION}"
+ OKV="${F_KV}"
+fi
+
+DESCRIPTION="Linux Headers from Linux-Mips GIT, dated ${GITDATE}"
+SRC_URI="${KERNEL_URI}
+ mirror://gentoo/mipsgit-${OKV}-${GITDATE}.diff.bz2
+ mirror://gentoo/mips-sources-generic_patches-${GENPATCHVER}.tar.bz2
+ mirror://gentoo/mips-headers-patches-${HEAPATCHVER}.tar.bz2"
+
+HOMEPAGE="http://www.linux-mips.org/ http://www.kernel.org/ http://www.gentoo.org/"
+KEYWORDS="-* ~mips"
+IUSE="ip27 ip28 ip30 cobalt"
+
+UNIPATCH_LIST="
+ ${WORKDIR}/mipsgit-${OKV}-${GITDATE}.diff
+ ${WORKDIR}/mips-patches/misc-2.6.16-ths-mips-tweaks.patch
+ ${WORKDIR}/mips-patches/misc-2.6.15-mips-iomap-functions.patch
+ ${WORKDIR}/mips-patches/misc-2.6.16-rev-i18n.patch
+ ${WORKDIR}/mips-patches-h/${PN}-2.6.13-ip27-build64.patch
+ ${WORKDIR}/mips-patches-h/linux-headers-2.6.0-sysctl_h-compat.patch
+ ${WORKDIR}/mips-patches-h/linux-headers-2.6.0-fb.patch
+ ${WORKDIR}/mips-patches-h/linux-headers-2.6.8.1-strict-ansi-fix.patch
+ ${WORKDIR}/mips-patches-h/linux-headers-2.6.16-compat_alloc_user_space.patch
+ ${WORKDIR}/mips-patches-h/linux-headers-2.6.16-appCompat.patch
+ ${WORKDIR}/mips-patches-h/${PN}-2.6.16-appCompat.patch"
+
+
+# IP27 (Origin) support? (includes additonal headers)
+if use ip27; then
+ UNIPATCH_LIST="${UNIPATCH_LIST} ${WORKDIR}/mips-patches/misc-2.6.16-ioc3-metadriver-r26.patch"
+fi
+
+# IP28 (Indigo2 Impact R10000) support? (includes additonal headers)
+if use ip28; then
+ UNIPATCH_LIST="${UNIPATCH_LIST} ${WORKDIR}/mips-patches/misc-2.6.16-ip28-i2_impact-support.patch"
+fi
+
+# IP30 (Octane) support? (includes additonal headers)
+if use ip30; then
+ UNIPATCH_LIST="${UNIPATCH_LIST} ${WORKDIR}/mips-patches/misc-2.6.16-ioc3-metadriver-r26.patch"
+ UNIPATCH_LIST="${UNIPATCH_LIST} ${WORKDIR}/mips-patches/misc-2.6.16-ip30-octane-support-r27.patch"
+fi
+
+
+src_unpack() {
+
+ # unpack ${A} unapcks kernel sources a second time, which we don't want
+ local my_a=${A/linux-${OKV}.tar.bz2/}
+ unpack ${my_a}
+
+
+ # kernel-2 stuff
+ kernel-2_src_unpack
+
+ # fix headers
+ cd ${S}
+ headers___fix include/asm-mips/*.h
+}
+
+src_compile() {
+ # Set the right defconfig
+ K_DEFCONFIG=""
+ if use cobalt; then
+ K_DEFCONFIG="cobalt_defconfig"
+ else
+ # SGI Machine?
+ case "$(uname -i)" in
+ "SGI Indy"|"SGI Indigo2"|"SGI IP22") K_DEFCONFIG="ip22_defconfig" ;;
+ "SGI Origin"|"SGI IP27") K_DEFCONFIG="ip27_defconfig" ;;
+ "SGI Octane"|"SGI IP30") K_DEFCONFIG="ip27_defconfig" ;;
+ "SGI O2"|"SGI IP32") K_DEFCONFIG="ip32_defconfig" ;;
+ esac
+ fi
+
+ # Compile
+ kernel-2_src_compile
+}