summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Wesolowski <wesolows@gentoo.org>2004-02-20 03:54:37 +0000
committerKeith Wesolowski <wesolows@gentoo.org>2004-02-20 03:54:37 +0000
commit298db64116ec1784b841ca0a78fd459c538757c0 (patch)
treef27e70cf6e8fd65af8580e555cc99e5dc1958682 /sys-kernel/development-sources/development-sources-2.6.3.ebuild
parentMarking 0.3.2 stable in x86 for gcc3.3 fix. Version bumping. (diff)
downloadgentoo-2-298db64116ec1784b841ca0a78fd459c538757c0.tar.gz
gentoo-2-298db64116ec1784b841ca0a78fd459c538757c0.tar.bz2
gentoo-2-298db64116ec1784b841ca0a78fd459c538757c0.zip
We welcome sparc to the mainstream kernel chain.
Diffstat (limited to 'sys-kernel/development-sources/development-sources-2.6.3.ebuild')
-rw-r--r--sys-kernel/development-sources/development-sources-2.6.3.ebuild22
1 files changed, 19 insertions, 3 deletions
diff --git a/sys-kernel/development-sources/development-sources-2.6.3.ebuild b/sys-kernel/development-sources/development-sources-2.6.3.ebuild
index 0fad248eb28d..e6e0dcc8cc67 100644
--- a/sys-kernel/development-sources/development-sources-2.6.3.ebuild
+++ b/sys-kernel/development-sources/development-sources-2.6.3.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.3.ebuild,v 1.2 2004/02/18 17:19:47 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/development-sources/development-sources-2.6.3.ebuild,v 1.3 2004/02/20 03:54:37 wesolows Exp $
+
+IUSE="ultra1"
K_NOUSENAME="yes"
ETYPE="sources"
+SPARC_URI="mirror://gentoo/patches-2.6.3-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 ~amd64"
+KEYWORDS="x86 ~amd64 ~sparc"
pkg_postinst() {
postinst_sources
@@ -23,4 +30,13 @@ pkg_postinst() {
ewarn " Device Drivers -> Character devices -> Unix98 PTY Support"
ewarn " File systems -> Pseudo filesystems -> /dev/pts filesystem."
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
}