summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2003-07-04 05:02:01 +0000
committerJoshua Kinard <kumba@gentoo.org>2003-07-04 05:02:01 +0000
commitfa78f1d5b8eb77ac57b4eadb8231e5e03124577a (patch)
treed46a261a8781f25d8e34b103586ea37c06250d3e /sys-kernel
parentlinux-mips.org CVS Snapshot (20030703), branch linux_2_4 (diff)
downloadgentoo-2-fa78f1d5b8eb77ac57b4eadb8231e5e03124577a.tar.gz
gentoo-2-fa78f1d5b8eb77ac57b4eadb8231e5e03124577a.tar.bz2
gentoo-2-fa78f1d5b8eb77ac57b4eadb8231e5e03124577a.zip
linux-mips.org CVS Snapshot (20030703), branch linux_2_4
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/mips-sources/ChangeLog11
-rw-r--r--sys-kernel/mips-sources/Manifest4
-rw-r--r--sys-kernel/mips-sources/files/digest-mips-sources-2.4.21_pre4-r12
-rw-r--r--sys-kernel/mips-sources/mips-sources-2.4.21_pre4-r1.ebuild42
4 files changed, 56 insertions, 3 deletions
diff --git a/sys-kernel/mips-sources/ChangeLog b/sys-kernel/mips-sources/ChangeLog
index f557b80e0233..8ec1aa6464f8 100644
--- a/sys-kernel/mips-sources/ChangeLog
+++ b/sys-kernel/mips-sources/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-kernel/mips-sources
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.2 2003/02/12 15:44:43 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/ChangeLog,v 1.3 2003/07/04 05:01:54 kumba Exp $
+
+
+*mips-sources-2.4.21_pre4-r1 (04 Jul 2003)
+
+ 04 Jul 2003; Joshua Kinard <kumba@gentoo.org> :
+ Added ebuild for CVS Snapshot (20030703) of linux-mips.org kernel, tagged linux_2_4
+ Includes patch to fix r4k cache handling, and patches for fixing
+ arch/mips/Makefile depending if the compiler is gcc-3.2 or gcc-3.3
+
*mips-sources-2.4.19 (22 Jan 2003)
diff --git a/sys-kernel/mips-sources/Manifest b/sys-kernel/mips-sources/Manifest
index 463c44ea9048..c54112d594bc 100644
--- a/sys-kernel/mips-sources/Manifest
+++ b/sys-kernel/mips-sources/Manifest
@@ -1,5 +1,5 @@
-MD5 9fa81c17a4a8ef0515aae19ac54c5f94 ChangeLog 816
+MD5 14ddc306b3ba44e139ca76cdfa548d12 ChangeLog 815
MD5 8ee4042c4c033ceb173a4c8335201a2d mips-sources-2.4.19.ebuild 3012
-MD5 2f3c6d7f21809964340640258452fd69 mips-sources-2.4.21_pre4-r1.ebuild 1247
+MD5 1c700dd4d2f7fead3ab648f24607ca4e mips-sources-2.4.21_pre4-r1.ebuild 1247
MD5 3ebb3cdf7486564838a96e1b6bb79b6b files/digest-mips-sources-2.4.19 144
MD5 f584baa396fe777485640f1f49e57527 files/digest-mips-sources-2.4.21_pre4-r1 170
diff --git a/sys-kernel/mips-sources/files/digest-mips-sources-2.4.21_pre4-r1 b/sys-kernel/mips-sources/files/digest-mips-sources-2.4.21_pre4-r1
new file mode 100644
index 000000000000..853f4b3c4c61
--- /dev/null
+++ b/sys-kernel/mips-sources/files/digest-mips-sources-2.4.21_pre4-r1
@@ -0,0 +1,2 @@
+MD5 1c980fa21db21635e06a2a86bcee9637 linux-mips-2.4.21-pre4-20030703.tar.bz2 27985636
+MD5 212d82e9deaf51ae8c319d2d11e3a271 mips-patches-2.4.21-pre4-20030703.tar.bz2 1255
diff --git a/sys-kernel/mips-sources/mips-sources-2.4.21_pre4-r1.ebuild b/sys-kernel/mips-sources/mips-sources-2.4.21_pre4-r1.ebuild
new file mode 100644
index 000000000000..cd6e89a597f8
--- /dev/null
+++ b/sys-kernel/mips-sources/mips-sources-2.4.21_pre4-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.4.21_pre4-r1.ebuild,v 1.1 2003/07/04 05:01:54 kumba Exp $
+
+
+ETYPE="sources"
+inherit kernel
+OKV=${PV/_/-}
+CVSDATE=20030703
+S=${WORKDIR}/linux-${OKV}
+
+# What's in this kernel?
+
+# INCLUDED:
+# 1) linux-mips.org CVS snapshot from 03 Jul 2003
+# 2) patch off linux-mips ML to fix r4k cache handling
+# 3) patch to fix arch/mips/Makefile to pass appropriate CFLAGS
+
+DESCRIPTION="Linux-Mips CVS sources for MIPS-based machines"
+SRC_URI="mirror://gentoo/linux-mips-${OKV}-${CVSDATE}.tar.bz2
+ mirror://gentoo/mips-patches-${OKV}-${CVSDATE}.tar.bz2"
+HOMEPAGE="http://www.linux-mips.org/"
+KEYWORDS="-* ~mips"
+SLOT="${OKV}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Fix R4K Cache Handling
+ cat ${WORKDIR}/mips-patches-r4k-cache-fix.patch | patch -p1
+
+ # Determine the gcc version and patch arch/mips/Makefile appropriately
+ GCCVER=$(gcc -dumpversion | cut -d. -f1,2)
+ case ${GCCVER} in
+ 3.2) cat ${WORKDIR}/mips-patches-gcc32-makefile-fix.patch | patch -p0;;
+ 3.3) cat ${WORKDIR}/mips-patches-gcc33-makefile-fix.patch | patch -p0;;
+ esac
+
+
+ kernel_universal_unpack
+}