summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Wesolowski <wesolows@gentoo.org>2004-04-04 17:36:51 +0000
committerKeith Wesolowski <wesolows@gentoo.org>2004-04-04 17:36:51 +0000
commit7849d8b3c39c036b6d668e0baa0c56dc64979163 (patch)
tree28ad317bdb474e42bfbf613b504100cae9302d3e /sys-kernel/development-sources/development-sources-2.6.5.ebuild
parent1.0.5.1 to the world (diff)
downloadhistorical-7849d8b3c39c036b6d668e0baa0c56dc64979163.tar.gz
historical-7849d8b3c39c036b6d668e0baa0c56dc64979163.tar.bz2
historical-7849d8b3c39c036b6d668e0baa0c56dc64979163.zip
Add sparc patchset for 2.6.5.
Diffstat (limited to 'sys-kernel/development-sources/development-sources-2.6.5.ebuild')
-rw-r--r--sys-kernel/development-sources/development-sources-2.6.5.ebuild22
1 files changed, 19 insertions, 3 deletions
diff --git a/sys-kernel/development-sources/development-sources-2.6.5.ebuild b/sys-kernel/development-sources/development-sources-2.6.5.ebuild
index f2413c866a7a..e90d16ff104a 100644
--- a/sys-kernel/development-sources/development-sources-2.6.5.ebuild
+++ b/sys-kernel/development-sources/development-sources-2.6.5.ebuild
@@ -1,17 +1,24 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/development-sources-2.6.5.ebuild,v 1.1 2004/04/04 13:26:42 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/development-sources-2.6.5.ebuild,v 1.2 2004/04/04 17:36:48 wesolows Exp $
+
+IUSE="ultra1"
K_NOUSENAME="yes"
ETYPE="sources"
+SPARC_URI="mirror://gentoo/patches-2.6.5-sparc.tar.bz2"
inherit kernel-2
detect_version
+detect_arch
DESCRIPTION="Full sources for the vanilla 2.6 kernel tree"
HOMEPAGE="http://www.kernel.org/"
-SRC_URI="${KERNEL_URI}"
+SRC_URI="${KERNEL_URI} ${ARCH_URI}"
+UNIPATCH_LIST="${ARCH_PATCH}"
+
+use ultra1 || UNIPATCH_EXCLUDE="99_U1-hme-lockup"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~sparc"
pkg_postinst() {
postinst_sources
@@ -22,4 +29,13 @@ pkg_postinst() {
ewarn "the kernel. You can do so by enabling the following option:"
ewarn " Device Drivers -> Character devices -> Legacy (BSD) PTY Support."
echo
+
+ if [ "${ARCH}" = "sparc" ]; then
+ if [ x"`cat /proc/openprom/name 2>/dev/null`" \
+ = x"'SUNW,Ultra-1'" ]; then
+ einfo "For users with an Enterprise model Ultra 1 using the HME"
+ einfo "network interface, please emerge the kernel using the"
+ einfo "following command: USE=ultra1 emerge ${PN}"
+ fi
+ fi
}