1 |
mr_bones_ 08/02/10 02:53:44 |
2 |
|
3 |
Modified: mips-sources-2.6.23.14.ebuild |
4 |
Log: |
5 |
whitespace |
6 |
(Portage version: 2.1.3.19) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 sys-kernel/mips-sources/mips-sources-2.6.23.14.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.23.14.ebuild?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.23.14.ebuild?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.23.14.ebuild?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: mips-sources-2.6.23.14.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.23.14.ebuild,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- mips-sources-2.6.23.14.ebuild 10 Feb 2008 01:42:35 -0000 1.1 |
22 |
+++ mips-sources-2.6.23.14.ebuild 10 Feb 2008 02:53:43 -0000 1.2 |
23 |
@@ -1,7 +1,6 @@ |
24 |
# Copyright 1999-2008 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.23.14.ebuild,v 1.1 2008/02/10 01:42:35 kumba Exp $ |
27 |
- |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/mips-sources/mips-sources-2.6.23.14.ebuild,v 1.2 2008/02/10 02:53:43 mr_bones_ Exp $ |
29 |
|
30 |
# INCLUDED: |
31 |
# 1) linux sources from kernel.org |
32 |
@@ -13,11 +12,8 @@ |
33 |
# 7) Patch for Remaining Cobalt Bits (http://www.colonel-panic.org/cobalt-mips/) |
34 |
# 8) Experimental patches (IP27 hacks, et al) |
35 |
|
36 |
- |
37 |
#//------------------------------------------------------------------------------ |
38 |
|
39 |
- |
40 |
- |
41 |
# Version Data |
42 |
OKV=${PV/_/-} |
43 |
GITDATE="20080206" # Date of diff between kernel.org and lmo GIT |
44 |
@@ -44,7 +40,6 @@ |
45 |
IUSE="cobalt ip27 ip28 ip30 ip32r10k" |
46 |
DEPEND=">=sys-devel/gcc-4.1.1" |
47 |
|
48 |
- |
49 |
# Version Control Variables |
50 |
USE_RC="no" # If set to "yes", then attempt to use an RC kernel |
51 |
USE_PNT="yes" # If set to "yes", then attempt to use a point-release (2.6.x.y) |
52 |
@@ -65,7 +60,6 @@ |
53 |
SV_IP32="" # DO_IP32 == "no", IP32 |
54 |
SV_CBLT="" # DO_CBLT == "no", Cobalt |
55 |
|
56 |
- |
57 |
# If USE_RC == "yes", use a release candidate kernel (2.6.X-rcY) |
58 |
if [ "${USE_RC}" = "yes" ]; then |
59 |
KVXY="$(get_version_component_range 1-2)" # Kernel Major/Minor |
60 |
@@ -89,19 +83,14 @@ |
61 |
USE_RC="no" |
62 |
fi |
63 |
|
64 |
- |
65 |
DESCRIPTION="Linux-Mips GIT sources for MIPS-based machines, dated ${GITDATE}" |
66 |
SRC_URI="mirror://kernel/linux/kernel/v2.6/linux-${STABLEVER}.tar.bz2 |
67 |
mirror://gentoo/mipsgit-${F_KV}-${GITDATE}.diff.bz2 |
68 |
mirror://gentoo/${PN}-generic_patches-${GENPATCHVER}.tar.bz2 |
69 |
${PATCHVER}" |
70 |
|
71 |
- |
72 |
- |
73 |
#//------------------------------------------------------------------------------ |
74 |
|
75 |
- |
76 |
- |
77 |
# Error/Warning messages |
78 |
err_only_one_mach_allowed() { |
79 |
echo -e "" |
80 |
@@ -148,12 +137,8 @@ |
81 |
return 0 |
82 |
} |
83 |
|
84 |
- |
85 |
- |
86 |
#//------------------------------------------------------------------------------ |
87 |
|
88 |
- |
89 |
- |
90 |
# Machine Information Messages |
91 |
# |
92 |
# If needing to whitespace for formatting in 'einfo', 'ewarn', or 'eerror', use |
93 |
@@ -279,12 +264,8 @@ |
94 |
echo -e "" |
95 |
} |
96 |
|
97 |
- |
98 |
- |
99 |
#//------------------------------------------------------------------------------ |
100 |
|
101 |
- |
102 |
- |
103 |
# Check our USE flags for machine-specific flags and give appropriate warnings/errors. |
104 |
# Hope the user isn't crazy enough to try using combinations of these flags. |
105 |
# Only use one machine-specific flag at a time for each type of desired machine-support. |
106 |
@@ -356,12 +337,8 @@ |
107 |
fi |
108 |
} |
109 |
|
110 |
- |
111 |
- |
112 |
#//------------------------------------------------------------------------------ |
113 |
|
114 |
- |
115 |
- |
116 |
# Generic Patches - Safe to use globally |
117 |
do_generic_patches() { |
118 |
echo -e "" |
119 |
@@ -385,7 +362,6 @@ |
120 |
eend |
121 |
} |
122 |
|
123 |
- |
124 |
# NOT safe for production systems |
125 |
# Use at own risk, do _not_ file bugs on effects of these patches |
126 |
do_sekrit_patches() { |
127 |
@@ -404,12 +380,8 @@ |
128 |
# /* EXPERIMENTAL - DO NOT USE IN PRODUCTION KERNELS */ |
129 |
} |
130 |
|
131 |
- |
132 |
- |
133 |
#//------------------------------------------------------------------------------ |
134 |
|
135 |
- |
136 |
- |
137 |
# Exclusive Machine Patchsets |
138 |
|
139 |
# SGI Origin (IP27) |
140 |
@@ -431,7 +403,6 @@ |
141 |
epatch ${MIPS_PATCHES}/misc-2.6.23-ip28-i2_impact-support.patch |
142 |
} |
143 |
|
144 |
- |
145 |
# SGI Octane 'Speedracer' (IP30) |
146 |
do_ip30_support() { |
147 |
echo -e "" |
148 |
@@ -441,12 +412,8 @@ |
149 |
epatch ${MIPS_PATCHES}/misc-2.6.22-ioc3-revert_commit_691cd0c.patch |
150 |
} |
151 |
|
152 |
- |
153 |
- |
154 |
#//------------------------------------------------------------------------------ |
155 |
|
156 |
- |
157 |
- |
158 |
# Renames source trees for the few machines that we have separate patches for |
159 |
rename_source_tree() { |
160 |
if [ ! -z "${1}" ]; then |
161 |
@@ -457,12 +424,8 @@ |
162 |
fi |
163 |
} |
164 |
|
165 |
- |
166 |
- |
167 |
#//------------------------------------------------------------------------------ |
168 |
|
169 |
- |
170 |
- |
171 |
src_unpack() { |
172 |
local x |
173 |
|
174 |
@@ -470,7 +433,6 @@ |
175 |
mv ${WORKDIR}/linux-${STABLEVER} ${WORKDIR}/linux-${OKV}-${GITDATE} |
176 |
cd ${S} |
177 |
|
178 |
- |
179 |
# If USE_RC == "yes", use a release candidate kernel (2.6.x-rcy) |
180 |
# OR |
181 |
# if USE_PNT == "yes", use a point-release kernel (2.6.x.y) |
182 |
@@ -480,7 +442,6 @@ |
183 |
epatch ${WORKDIR}/patch-${OKV} |
184 |
fi |
185 |
|
186 |
- |
187 |
# Update the vanilla sources with linux-mips GIT changes |
188 |
echo -e "" |
189 |
einfo ">>> linux-${OKV} --> linux-${OKV}-${GITDATE} patch ..." |
190 |
@@ -497,12 +458,10 @@ |
191 |
# Patches for experimental use |
192 |
do_sekrit_patches |
193 |
|
194 |
- |
195 |
# All done, resume normal portage work |
196 |
kernel_universal_unpack |
197 |
} |
198 |
|
199 |
- |
200 |
src_install() { |
201 |
# Rename the source trees for exclusive machines |
202 |
local x |
203 |
@@ -526,5 +485,4 @@ |
204 |
fi |
205 |
} |
206 |
|
207 |
- |
208 |
#//------------------------------------------------------------------------------ |
209 |
|
210 |
|
211 |
|
212 |
-- |
213 |
gentoo-commits@l.g.o mailing list |