diff options
author | Joshua Kinard <kumba@gentoo.org> | 2004-01-16 06:48:39 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2004-01-16 06:48:39 +0000 |
commit | bb9d8d5d1e6cd64e30a130361848bc94d44656e5 (patch) | |
tree | 85c9af422667e7134e7eb559c8e333a95ea371a0 /sys-kernel | |
parent | Initial checkin. Closes bug 37134 (Manifest recommit) (diff) | |
download | gentoo-2-bb9d8d5d1e6cd64e30a130361848bc94d44656e5.tar.gz gentoo-2-bb9d8d5d1e6cd64e30a130361848bc94d44656e5.tar.bz2 gentoo-2-bb9d8d5d1e6cd64e30a130361848bc94d44656e5.zip |
Removing prepatch ebuilds, as they're not needed anymore
Diffstat (limited to 'sys-kernel')
14 files changed, 14 insertions, 356 deletions
diff --git a/sys-kernel/mips-prepatch-sources/ChangeLog b/sys-kernel/mips-prepatch-sources/ChangeLog index 00a95fb48a83..46b95b861c5e 100644 --- a/sys-kernel/mips-prepatch-sources/ChangeLog +++ b/sys-kernel/mips-prepatch-sources/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for sys-kernel/mips-prepatch-sources -# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-prepatch-sources/ChangeLog,v 1.6 2004/01/08 15:39:27 plasmaroo Exp $ +# 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 $ + + 16 Jan 2004; Joshua Kinard <kumba@gentoo.org> + mips-prepatch-sources-2.4.22_rc2-r1.ebuild, + mips-prepatch-sources-2.4.23_rc2.ebuild, + mips-prepatch-sources-2.4.24_pre2-r1.ebuild, + mips-prepatch-sources-2.4.24_pre2.ebuild, files/.keep, + files/mips-gcc-makefile-fix-20030813.patch, + files/mips-gcc-makefile-fix-20031120.patch, + files/mips-gcc-makefile-fix-20031226.patch, + files/mips-prepatch-sources-2.4.24_pre2.CAN-2003-0985.patch: + Removed older kernel ebuilds/digests as they're not needed anymore until another + prepatch snapshot is made *mips-prepatch-sources-2.4.24_pre2-r1 (08 Jan 2004) diff --git a/sys-kernel/mips-prepatch-sources/files/.keep b/sys-kernel/mips-prepatch-sources/files/.keep new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/sys-kernel/mips-prepatch-sources/files/.keep diff --git a/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.22_rc2-r1 b/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.22_rc2-r1 deleted file mode 100644 index 487b02e8ca79..000000000000 --- a/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.22_rc2-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733 -MD5 141f00e759d6aa30cc0b2a25f1f0d60e patch-2.4.22-rc2.bz2 4290549 -MD5 ea8b93ffb1a629d55982b7768edad78d mipscvs-2.4.22-rc2-20030813.diff.bz2 1023647 diff --git a/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.23_rc2 b/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.23_rc2 deleted file mode 100644 index a2e450542c36..000000000000 --- a/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.23_rc2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 75dc85149b06ac9432106b8941eb9f7b linux-2.4.22.tar.bz2 29528612 -MD5 78dbeb9c0290f74949c85c5efdfde952 patch-2.4.23-rc2.bz2 2194985 -MD5 6772dadf14a2330cfc4c3de896218e6e mipscvs-2.4.23-rc2-20031120.diff.bz2 274338 diff --git a/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.24_pre2 b/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.24_pre2 deleted file mode 100644 index cbc68fe8291e..000000000000 --- a/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.24_pre2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 642af5ab5e1fc63685fde85e9ae601e4 linux-2.4.23.tar.bz2 29832609 -MD5 84ffd748f0c8be6c6d9a39e1e4233f38 patch-2.4.24-pre2.bz2 1262362 -MD5 4892762f4dfd836c99b61aab19b8b120 mipscvs-2.4.24-pre2-20031226.diff.bz2 66298 diff --git a/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.24_pre2-r1 b/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.24_pre2-r1 deleted file mode 100644 index cbc68fe8291e..000000000000 --- a/sys-kernel/mips-prepatch-sources/files/digest-mips-prepatch-sources-2.4.24_pre2-r1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 642af5ab5e1fc63685fde85e9ae601e4 linux-2.4.23.tar.bz2 29832609 -MD5 84ffd748f0c8be6c6d9a39e1e4233f38 patch-2.4.24-pre2.bz2 1262362 -MD5 4892762f4dfd836c99b61aab19b8b120 mipscvs-2.4.24-pre2-20031226.diff.bz2 66298 diff --git a/sys-kernel/mips-prepatch-sources/files/mips-gcc-makefile-fix-20030813.patch b/sys-kernel/mips-prepatch-sources/files/mips-gcc-makefile-fix-20030813.patch deleted file mode 100644 index 587b18073870..000000000000 --- a/sys-kernel/mips-prepatch-sources/files/mips-gcc-makefile-fix-20030813.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- arch/mips/Makefile.orig 2003-08-13 20:45:28.000000000 -0400 -+++ arch/mips/Makefile 2003-08-13 20:46:30.000000000 -0400 -@@ -72,7 +72,7 @@ ifdef CONFIG_CPU_VR41XX - GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap - endif - ifdef CONFIG_CPU_R4X00 --GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap -+GCCFLAGS += -mips3 -Wa,--trap - endif - ifdef CONFIG_CPU_TX49XX - GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap -@@ -84,14 +84,14 @@ ifdef CONFIG_CPU_MIPS64 - GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap - endif - ifdef CONFIG_CPU_R5000 --GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap -+GCCFLAGS += -mips4 -Wa,--trap - endif - ifdef CONFIG_CPU_R5432 - GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap - endif - ifdef CONFIG_CPU_NEVADA - # Cannot use -mmad with currently recommended tools --GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap -+GCCFLAGS += -mips4 -Wa,--trap - endif - ifdef CONFIG_CPU_RM7000 - GCCFLAGS += $(call check_gcc, -march=rm7000, -mcpu=r5000) \ diff --git a/sys-kernel/mips-prepatch-sources/files/mips-gcc-makefile-fix-20031120.patch b/sys-kernel/mips-prepatch-sources/files/mips-gcc-makefile-fix-20031120.patch deleted file mode 100644 index b8bb93b79a5e..000000000000 --- a/sys-kernel/mips-prepatch-sources/files/mips-gcc-makefile-fix-20031120.patch +++ /dev/null @@ -1,57 +0,0 @@ ---- arch/mips/Makefile.orig 2003-11-20 18:41:46.149836640 -0500 -+++ arch/mips/Makefile 2003-11-20 18:42:17.023143184 -0500 -@@ -73,7 +73,7 @@ ifdef CONFIG_CPU_VR41XX - GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap - endif - ifdef CONFIG_CPU_R4X00 --GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap -+GCCFLAGS += -mips3 -Wa,--trap - endif - ifdef CONFIG_CPU_TX49XX - GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap -@@ -85,14 +85,14 @@ ifdef CONFIG_CPU_MIPS64 - GCCFLAGS += -mcpu=r4600 -mips2 -Wa,--trap - endif - ifdef CONFIG_CPU_R5000 --GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap -+GCCFLAGS += -mips4 -Wa,--trap - endif - ifdef CONFIG_CPU_R5432 - GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap - endif - ifdef CONFIG_CPU_NEVADA - # Cannot use -mmad with currently recommended tools --GCCFLAGS += -mcpu=r5000 -mips2 -Wa,--trap -+GCCFLAGS += -mips4 -Wa,--trap - endif - ifdef CONFIG_CPU_RM7000 - GCCFLAGS += $(call check_gcc, -march=rm7000, -mcpu=r5000) \ ---- arch/mips64/Makefile.orig 2003-11-20 18:42:35.295365384 -0500 -+++ arch/mips64/Makefile 2003-11-20 18:46:33.326179200 -0500 -@@ -56,14 +56,14 @@ ifdef CONFIG_CPU_R4300 - GCCFLAGS += -mcpu=r4300 -mips3 - endif - ifdef CONFIG_CPU_R4X00 --GCCFLAGS += -mcpu=r4600 -mips3 -+GCCFLAGS += -mips3 - endif - ifdef CONFIG_CPU_R5000 --GCCFLAGS += -mcpu=r8000 -mips4 -+GCCFLAGS += -mips4 - endif - ifdef CONFIG_CPU_NEVADA - # Cannot use -mmad with currently recommended tools --GCCFLAGS += -mcpu=r8000 -mips3 -+GCCFLAGS += -mips4 - endif - ifdef CONFIG_CPU_RM7000 - GCCFLAGS += $(call check_gcc, -march=rm7000, -mcpu=r5000) \ -@@ -299,7 +299,7 @@ endif - # convert to ECOFF using elf2ecoff. - # - ifdef CONFIG_BOOT_ELF32 --GCCFLAGS += -Wa,-32 $(shell if $(CC) -Wa,-mgp64 -c -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "-Wa,-mgp64"; fi) -+GCCFLAGS += -Wa,-mabi=o64 $(shell if $(CC) -Wa,-mgp64 -c -o /dev/null -xc /dev/null > /dev/null 2>&1; then echo "-Wa,-mgp64"; fi) - LINKFLAGS += -T arch/mips64/ld.script.elf32 - endif - # diff --git a/sys-kernel/mips-prepatch-sources/files/mips-gcc-makefile-fix-20031226.patch b/sys-kernel/mips-prepatch-sources/files/mips-gcc-makefile-fix-20031226.patch deleted file mode 100644 index b5e44a31ee2e..000000000000 --- a/sys-kernel/mips-prepatch-sources/files/mips-gcc-makefile-fix-20031226.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- arch/mips64/Makefile.orig 2003-12-26 05:43:13.152689760 -0500 -+++ arch/mips64/Makefile 2003-12-26 05:47:06.650192744 -0500 -@@ -334,7 +334,7 @@ endif - # convert to ECOFF using elf2ecoff. - # - ifdef CONFIG_BOOT_ELF32 --GCCFLAGS += -Wa,-32 $(call check_gas,-Wa$(comma)-mgp64,) -+GCCFLAGS += -Wa,-mabi=o64 $(call check_gas,-Wa$(comma)-mgp64,) - LINKFLAGS += -T arch/mips64/ld.script.elf32 - endif - # diff --git a/sys-kernel/mips-prepatch-sources/files/mips-prepatch-sources-2.4.24_pre2.CAN-2003-0985.patch b/sys-kernel/mips-prepatch-sources/files/mips-prepatch-sources-2.4.24_pre2.CAN-2003-0985.patch deleted file mode 100644 index dacf6ed810f9..000000000000 --- a/sys-kernel/mips-prepatch-sources/files/mips-prepatch-sources-2.4.24_pre2.CAN-2003-0985.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- linux/mm/mremap.c.orig 2004-01-05 17:01:21.382104120 +0000 -+++ linux/mm/mremap.c 2004-01-05 17:15:25.689749848 +0000 -@@ -315,6 +315,10 @@ - old_len = PAGE_ALIGN(old_len); - new_len = PAGE_ALIGN(new_len); - -+ /* Don't allow the degenerate cases */ -+ if (!old_len || !new_len) -+ goto out; -+ - /* new_addr is only valid if MREMAP_FIXED is specified */ - if (flags & MREMAP_FIXED) { - if (new_addr & ~PAGE_MASK) diff --git a/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.22_rc2-r1.ebuild b/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.22_rc2-r1.ebuild deleted file mode 100644 index 27ce8fcdc9d0..000000000000 --- a/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.22_rc2-r1.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# 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.22_rc2-r1.ebuild,v 1.5 2004/01/08 15:39:27 plasmaroo Exp $ - - -# Version Data -OKV=${PV/_/-} -CVSDATE="20030813" -EXTRAVERSION="-mipscvs-${CVSDATE}" -KV="${OKV}-${CVSDATE}" -STABLEVERSION="2.4.21" - -# Miscellaneous -S=${WORKDIR}/linux-${OKV}-${CVSDATE} - -# Eclass Stuff -ETYPE="sources" -inherit kernel - - -# INCLUDED: -# 1) linux stable sources from kernel.org -# 2) patch to latest linux prepatch sources -# 3) linux-mips.org CVS snapshot diff from 13 Aug 2003 -# 4) patch to fix arch/mips/Makefile to pass appropriate CFLAGS - -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" -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} ..." - cat ${WORKDIR}/patch-${OKV} | patch -p1 - - # Update the vanilla prepatch sources with linux-mips CVS changes - einfo ">>> Patching linux-${OKV} to linux-${OKV}${EXTRAVERSION} ..." - cat ${WORKDIR}/mipscvs-${OKV}-${CVSDATE}.diff | patch -p1 - - # Patch arch/mips/Makefile for gcc - einfo ">>> Patching arch/mips/Makefile ..." - cat ${FILESDIR}/mips-gcc-makefile-fix-${CVSDATE}.patch | patch -p0 - - kernel_universal_unpack -} diff --git a/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.23_rc2.ebuild b/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.23_rc2.ebuild deleted file mode 100644 index 4d62db439d8b..000000000000 --- a/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.23_rc2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# 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.23_rc2.ebuild,v 1.2 2004/01/08 15:39:27 plasmaroo Exp $ - - -# Version Data -OKV=${PV/_/-} -CVSDATE="20031120" -EXTRAVERSION="-mipscvs-${CVSDATE}" -KV="${OKV}-${CVSDATE}" -STABLEVERSION="2.4.22" - -# Miscellaneous -S=${WORKDIR}/linux-${OKV}-${CVSDATE} - -# Eclass Stuff -ETYPE="sources" -inherit kernel - - -# INCLUDED: -# 1) linux stable sources from kernel.org -# 2) patch to latest linux prepatch sources -# 3) linux-mips.org CVS snapshot diff from 20 Nov 2003 -# 4) patch to fix Makefile(s) to pass appropriate CFLAGS - -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" -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}/mips-gcc-makefile-fix-${CVSDATE}.patch - echo -e "" - - kernel_universal_unpack -} diff --git a/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.24_pre2-r1.ebuild b/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.24_pre2-r1.ebuild deleted file mode 100644 index 57c5669cc60d..000000000000 --- a/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.24_pre2-r1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# 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.24_pre2-r1.ebuild,v 1.1 2004/01/08 15:39:27 plasmaroo Exp $ - - -# Version Data -OKV=${PV/_/-} -CVSDATE="20031226" -EXTRAVERSION="$(echo "${OKV}" | cut -d- -f2)-mipscvs-${CVSDATE}-${PR}" -KV="${OKV}-${CVSDATE}" -STABLEVERSION="2.4.23" - -# Miscellaneous -S=${WORKDIR}/linux-${OKV}-${CVSDATE} - -# Eclass Stuff -ETYPE="sources" -inherit kernel - - -# INCLUDED: -# 1) linux stable sources from kernel.org -# 2) patch to latest linux prepatch sources -# 3) linux-mips.org CVS snapshot diff from 20 Nov 2003 -# 4) patch to fix Makefile(s) to pass appropriate CFLAGS - -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" -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}/mips-gcc-makefile-fix-${CVSDATE}.patch - echo -e "" - - # Add security patches [ RTC is already fixed ] - einfo ">>> Adding security patches ..." - epatch ${FILESDIR}/${P}.CAN-2003-0985.patch - - kernel_universal_unpack -} diff --git a/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.24_pre2.ebuild b/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.24_pre2.ebuild deleted file mode 100644 index 4d2576f369d7..000000000000 --- a/sys-kernel/mips-prepatch-sources/mips-prepatch-sources-2.4.24_pre2.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# 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.24_pre2.ebuild,v 1.2 2004/01/08 15:39:27 plasmaroo Exp $ - - -# Version Data -OKV=${PV/_/-} -CVSDATE="20031226" -EXTRAVERSION="$(echo "${OKV}" | cut -d- -f2)-mipscvs-${CVSDATE}" -KV="${OKV}-${CVSDATE}" -STABLEVERSION="2.4.23" - -# Miscellaneous -S=${WORKDIR}/linux-${OKV}-${CVSDATE} - -# Eclass Stuff -ETYPE="sources" -inherit kernel - - -# INCLUDED: -# 1) linux stable sources from kernel.org -# 2) patch to latest linux prepatch sources -# 3) linux-mips.org CVS snapshot diff from 20 Nov 2003 -# 4) patch to fix Makefile(s) to pass appropriate CFLAGS - -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" -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}/mips-gcc-makefile-fix-${CVSDATE}.patch - echo -e "" - - kernel_universal_unpack -} |