diff options
author | Joshua Kinard <kumba@gentoo.org> | 2004-02-10 06:57:29 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2004-02-10 06:57:29 +0000 |
commit | aa22b173035969a9f0d328cbedb65e7927b33898 (patch) | |
tree | dbb1b3bfede9ec6dd7f5218df4f492684084c9e1 /sys-kernel | |
parent | Stable on ppc. (Manifest recommit) (diff) | |
download | gentoo-2-aa22b173035969a9f0d328cbedb65e7927b33898.tar.gz gentoo-2-aa22b173035969a9f0d328cbedb65e7927b33898.tar.bz2 gentoo-2-aa22b173035969a9f0d328cbedb65e7927b33898.zip |
new prepatch-sources snapshot, contains cobalt patches. Dated 20040209.
Diffstat (limited to 'sys-kernel')
4 files changed, 85 insertions, 2 deletions
diff --git a/sys-kernel/mips-prepatch-sources/ChangeLog b/sys-kernel/mips-prepatch-sources/ChangeLog index 46b95b861c5e..c7f7fe98e0dd 100644 --- a/sys-kernel/mips-prepatch-sources/ChangeLog +++ b/sys-kernel/mips-prepatch-sources/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-kernel/mips-prepatch-sources # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-prepatch-sources/ChangeLog,v 1.7 2004/01/16 06:48:39 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-prepatch-sources/ChangeLog,v 1.8 2004/02/10 06:57:29 kumba Exp $ + +*mips-prepatch-sources-2.4.25_pre6 (10 Feb 2004) + + 10 Feb 2004; Joshua Kinard <kumba@gentoo.org> + mips-prepatch-sources-2.4.25_pre6.ebuild: + new prepatch-sources snapshot, contains cobalt patches. Dated 20040209. 16 Jan 2004; Joshua Kinard <kumba@gentoo.org> mips-prepatch-sources-2.4.22_rc2-r1.ebuild, diff --git a/sys-kernel/mips-prepatch-sources/Manifest b/sys-kernel/mips-prepatch-sources/Manifest index 835640f5a10f..f626b918cb60 100644 --- a/sys-kernel/mips-prepatch-sources/Manifest +++ b/sys-kernel/mips-prepatch-sources/Manifest @@ -1,3 +1,5 @@ -MD5 45a4d25331d52996955da6e27cb7193b ChangeLog 2067 +MD5 12678e7d3731d3c55482bcafdfc326a6 ChangeLog 2285 MD5 0bfb6b59036d1fe3e8075bc8879e772b metadata.xml 412 +MD5 6b8b75f54578a448642132bf32e3f3fb mips-prepatch-sources-2.4.25_pre6.ebuild 2147 MD5 d41d8cd98f00b204e9800998ecf8427e files/.keep 0 +MD5 1646cb074c99365f653d5db9416625dc files/digest-mips-prepatch-sources-2.4.25_pre6 290 diff --git a/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.25_pre6 b/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.25_pre6 new file mode 100644 index 000000000000..b04d6ff75229 --- /dev/null +++ b/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.25_pre6 @@ -0,0 +1,4 @@ +MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818 +MD5 446ba59d61433604f65b0be98f980849 patch-2.4.25-pre6.bz2 1639920 +MD5 f1c54736fe2ef4e807cb83aca4523520 mipscvs-2.4.25-pre6-20040209.diff.bz2 121803 +MD5 3164a83e10562b34fa250fd9b892b5b2 cobalt-patches-24xx-1.1.tar.bz2 3831 diff --git a/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.25_pre6.ebuild b/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.25_pre6.ebuild new file mode 100644 index 000000000000..d323d3497f4e --- /dev/null +++ b/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.25_pre6.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.25_pre6.ebuild,v 1.1 2004/02/10 06:57:29 kumba Exp $ + + +# Version Data +OKV=${PV/_/-} +CVSDATE="20040209" +EXTRAVERSION="-mipscvs-${CVSDATE}" +KV="${OKV}${EXTRAVERSION}" +COBALTPATCHVER="1.1" +STABLEVERSION="2.4.24" + +# Miscellaneous +S=${WORKDIR}/linux-${OKV}-${CVSDATE} + +# Eclass Stuff +ETYPE="sources" +inherit kernel eutils + + +# INCLUDED: +# 1) linux stable sources from kernel.org +# 2) patch to latest linux prepatch sources +# 3) linux-mips.org CVS snapshot diff from 09 Feb 2004 +# 4) patch to fix Makefile(s) to pass appropriate CFLAGS +# 5) Patches for Cobalt support + + +DESCRIPTION="Linux-Mips CVS pre-patch sources for MIPS-based machines" +SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${STABLEVERSION}.tar.bz2 + mirror://kernel/linux/kernel/v2.4/testing/patch-${OKV}.bz2 + mirror://gentoo/mipscvs-${OKV}-${CVSDATE}.diff.bz2 + mirror://gentoo/cobalt-patches-24xx-${COBALTPATCHVER}.tar.bz2" +HOMEPAGE="http://www.kernel.org http://www.linux-mips.org/" +SLOT="${OKV}" +PROVIDE="virtual/linux-sources" +KEYWORDS="-* ~mips" + + +src_unpack() { + unpack ${A} + mv ${WORKDIR}/linux-${STABLEVERSION} ${S} + cd ${S} + + # Update the vanilla sources with prepatch diff + einfo ">>> Patching linux-${STABLEVERSION} to linux-${OKV} ..." + epatch ${WORKDIR}/patch-${OKV} + echo -e "" + + # Update the vanilla prepatch sources with linux-mips CVS changes + einfo ">>> Patching linux-${OKV} to linux-${OKV}${EXTRAVERSION} ..." + epatch ${WORKDIR}/mipscvs-${OKV}-${CVSDATE}.diff + echo -e "" + + # Patch arch/mips/Makefile & arch/mips64/Makefile + einfo ">>> Patching Makefile(s) ..." + epatch ${FILESDIR}/mipscvs-${OKV}-${CVSDATE}-makefile.patch + echo -e "" + + # Cobalt stuff +# if [ "${PROFILE_ARCH}" = "cobalt" ]; then + einfo ">>> Patching kernel for Cobalt support ..." + for x in ${WORKDIR}/cobalt-patches-24xx-${COBALTPATCHVER}/*.patch; do + epatch ${x} + done + cp ${WORKDIR}/cobalt-patches-24xx-${COBALTPATCHVER}/cobalt-patches.txt ${S} +# fi + + kernel_universal_unpack +} |