diff options
author | Joshua Kinard <kumba@gentoo.org> | 2003-10-16 03:53:54 +0000 |
---|---|---|
committer | Joshua Kinard <kumba@gentoo.org> | 2003-10-16 03:53:54 +0000 |
commit | 3cb35557ee8d3794f62ee33579070e9ba41e5c63 (patch) | |
tree | 1ee7e0976882b63a786c682a8bc00cbe20db1777 | |
parent | Same ebuild as -r2, but adds support for installing mips64 includes if mips64... (diff) | |
download | gentoo-2-3cb35557ee8d3794f62ee33579070e9ba41e5c63.tar.gz gentoo-2-3cb35557ee8d3794f62ee33579070e9ba41e5c63.tar.bz2 gentoo-2-3cb35557ee8d3794f62ee33579070e9ba41e5c63.zip |
Same ebuild as -r2, but adds support for installing mips64 includes if mips64 is detected
-rw-r--r-- | sys-kernel/mips-headers/ChangeLog | 8 | ||||
-rw-r--r-- | sys-kernel/mips-headers/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/mips-headers/files/digest-mips-headers-2.4.21-r3 | 2 | ||||
-rw-r--r-- | sys-kernel/mips-headers/mips-headers-2.4.21-r3.ebuild | 53 |
4 files changed, 64 insertions, 3 deletions
diff --git a/sys-kernel/mips-headers/ChangeLog b/sys-kernel/mips-headers/ChangeLog index 258c76b9e496..ef94147d697b 100644 --- a/sys-kernel/mips-headers/ChangeLog +++ b/sys-kernel/mips-headers/ChangeLog @@ -1,8 +1,14 @@ # ChangeLog for sys-kernel/mips-headers # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-headers/ChangeLog,v 1.9 2003/09/21 23:46:00 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-headers/ChangeLog,v 1.10 2003/10/16 03:53:45 kumba Exp $ +*mips-headers-2.4.21-r3 (15 Oct 2003) + + 15 Oct 2003; Joshua Kinard <kumba@gentoo.org> mips-headers-2.4.21-r3.ebuild: + Newer release is the same as -r2, but adds a section to install asm-mips64 + includes if we detect the profile to be mips64 + *mips-headers-2.4.22-r1 (26 Aug 2003) 21 Sep 2003; Joshua Kinard <kumba@gentoo.org> mips-headers-2.4.22-r1.ebuild: diff --git a/sys-kernel/mips-headers/Manifest b/sys-kernel/mips-headers/Manifest index 5bca99abbe19..762f7bab1207 100644 --- a/sys-kernel/mips-headers/Manifest +++ b/sys-kernel/mips-headers/Manifest @@ -1,9 +1,9 @@ -MD5 789274524c80b3c7bdd626bb3aff99d6 ChangeLog 2277 +MD5 2efd8870c5e0435788151fbe37abf086 ChangeLog 2278 MD5 a79e966514d7aa3b003e25a207766f97 metadata.xml 417 MD5 d8a2dc5304c6154797d4698db0f016c2 mips-headers-2.4.21-r1.ebuild 1305 MD5 d4ee1d35805d628d4232193b6c7acab6 mips-headers-2.4.21-r2.ebuild 1203 MD5 1ae1d02140cbfaa36883879861da1fd8 mips-headers-2.4.22-r1.ebuild 1211 -MD5 4a0838930a7b4ba95514731f49928deb mips-headers-2.4.21-r3.ebuild 1380 +MD5 e4df06eb3275700364d48bae9bb71023 mips-headers-2.4.21-r3.ebuild 1380 MD5 e300a3e148a7dcc38a0e099494fb6cb3 files/bigendian-byteorder-fix.patch 1557 MD5 747353be86040c7e4c49b553f3467b7c files/digest-mips-headers-2.4.21-r1 160 MD5 76b0e72e1a0025451c3fcf8d00faaf0a files/digest-mips-headers-2.4.21-r2 145 diff --git a/sys-kernel/mips-headers/files/digest-mips-headers-2.4.21-r3 b/sys-kernel/mips-headers/files/digest-mips-headers-2.4.21-r3 new file mode 100644 index 000000000000..9e16838f5d98 --- /dev/null +++ b/sys-kernel/mips-headers/files/digest-mips-headers-2.4.21-r3 @@ -0,0 +1,2 @@ +MD5 f51e12efa18bb828cf57d9d4a81b2fb1 linux-2.4.21.tar.bz2 28533733 +MD5 aea17fa0a6fc0bef9847b8713d4c3923 mipscvs-2.4.21-20030803.diff.bz2 1011871 diff --git a/sys-kernel/mips-headers/mips-headers-2.4.21-r3.ebuild b/sys-kernel/mips-headers/mips-headers-2.4.21-r3.ebuild new file mode 100644 index 000000000000..ca58db65fd52 --- /dev/null +++ b/sys-kernel/mips-headers/mips-headers-2.4.21-r3.ebuild @@ -0,0 +1,53 @@ +# 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-headers/mips-headers-2.4.21-r3.ebuild,v 1.1 2003/10/16 03:53:45 kumba Exp $ + + +ETYPE="headers" +inherit kernel eutils +OKV=${PV/_/-} +CVSDATE=20030803 +S=${WORKDIR}/linux-${OKV} +EXTRAVERSION=-mipscvs-${CVSDATE} +PROVIDE="virtual/os-headers" + + +# What's in this kernel? + +# INCLUDED: +# 1) linux sources from kernel.org +# 2) linux-mips.org CVS snapshot diff from 03 Aug 2003 +# 3) patch to fix arch/mips/Makefile to pass appropriate CFLAGS + + +DESCRIPTION="Linux-Mips CVS headers for MIPS-based machines, dated ${CVSDATE}" +SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 + mirror://gentoo/mipscvs-${OKV}-${CVSDATE}.diff.bz2" +HOMEPAGE="http://www.linux-mips.org/" +KEYWORDS="-* mips" +SLOT="${OKV}" + +src_unpack() { + unpack ${A} + cd ${S} + + # Update the vanilla sources with linux-mips CVS changes + epatch ${WORKDIR}/mipscvs-${OKV}-${CVSDATE}.diff + + # Big Endian Fix + epatch ${FILESDIR}/bigendian-byteorder-fix.patch + + kernel_universal_unpack +} + +src_install() { + + # Do normal src_install stuff + kernel_src_install + + # If this is mips64, then we need asm-mips64 stuff too + if [ "${PROFILE_ARCH}" = "mips64" ]; then + dodir /usr/include/asm-mips64 + cp -ax ${S}/include/asm-mips64/* ${D}/usr/include/asm-mips64 + fi +} |