diff options
author | Joshua Kinard <kumba@gentoo.org> | 2003-07-04 05:02:01 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2003-07-04 05:02:01 +0000 |
commit | e853180969030fe0a7706f3bf5f8768945152041 (patch) | |
tree | e3bf95ff06fdfd5a70290f719470424b5d2d70ff | |
parent | linux-mips.org CVS Snapshot (20030703), branch linux_2_4 (diff) | |
download | historical-e853180969030fe0a7706f3bf5f8768945152041.tar.gz historical-e853180969030fe0a7706f3bf5f8768945152041.tar.bz2 historical-e853180969030fe0a7706f3bf5f8768945152041.zip |
linux-mips.org CVS Snapshot (20030703), branch linux_2_4
-rw-r--r-- | sys-kernel/mips-sources/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/mips-sources/files/digest-mips-sources-2.4.21_pre4-r1 | 2 | ||||
-rw-r--r-- | sys-kernel/mips-sources/mips-sources-2.4.21_pre4-r1.ebuild | 42 |
3 files changed, 46 insertions, 2 deletions
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 +} |