summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2003-10-16 03:53:54 +0000
committerJoshua Kinard <kumba@gentoo.org>2003-10-16 03:53:54 +0000
commitdd825f27d90775aebdb9f5eb7bbd251cdb72abd5 (patch)
tree5ef72f8c78a7b9da3952bd75096512851ff67e38 /sys-kernel
parentSame ebuild as -r2, but adds support for installing mips64 includes if mips64... (diff)
downloadhistorical-dd825f27d90775aebdb9f5eb7bbd251cdb72abd5.tar.gz
historical-dd825f27d90775aebdb9f5eb7bbd251cdb72abd5.tar.bz2
historical-dd825f27d90775aebdb9f5eb7bbd251cdb72abd5.zip
Same ebuild as -r2, but adds support for installing mips64 includes if mips64 is detected
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/mips-headers/Manifest4
-rw-r--r--sys-kernel/mips-headers/files/digest-mips-headers-2.4.21-r32
-rw-r--r--sys-kernel/mips-headers/mips-headers-2.4.21-r3.ebuild53
3 files changed, 57 insertions, 2 deletions
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
+}