Magellan Linux

Contents of /smage/branches/alx-0_6_0/core/kernel26-sources-alx/kernel26-sources-alx-3.10.84-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6794 - (show annotations) (download)
Wed Jul 22 09:28:03 2015 UTC (8 years, 9 months ago) by niro
File size: 11675 byte(s)
auto added: ver bump to 3.10.84-r1
1 # $Id$
2
3 # base alx kernel:
4 # using linux-3.10.84
5
6 # what type are we building (sources or image) ?
7 KERNEL_TYPE="sources"
8
9 # which branch we're using
10 BRANCH="alx"
11
12 PNAME="kernel26-sources-${BRANCH}"
13
14 # 2.6.x.x subver style
15 PSUBVER=""
16
17 PVER="3.10.84${PSUBVER}"
18 PBUILD="r1"
19
20 # set the right tarball version
21 TARBALLPVER="${PVER%.*}"
22
23 PCATEGORIE="sys-kernel"
24
25 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
26 HOMEPAGE="http://magellan-linux.net"
27
28 DEPEND=""
29
30 PROVIDE="virtual/kernel-sources"
31
32 SRCFILE="linux-${TARBALLPVER}.tar.bz2"
33 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
34
35 # include global kernel26 functions
36 REMOVE_DEPRECATED_MAGE_TARGETS=1
37 sminclude kernel26 alx
38
39 # --- extra drivers included in this kernel: ---
40 # we do not bundle ati-drivers and nvidia-glx drivers anymore
41 # use our new module builders!
42 # --- eot extra drivers ---
43
44 # no need to waste time here
45 NOSTRIP=true
46
47 SRC_URI=(
48 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
49 mirror://kernel26-${BRANCH}/${SRCFILE}
50 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
51 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0100-3.10.1-all-fixes.patch
52 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0101-3.10.2-all-fixes.patch
53 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0102-3.10.3-all-fixes.patch
54 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0103-3.10.4-all-fixes.patch
55 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0104-3.10.5-all-fixes.patch
56 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0105-3.10.6-all-fixes.patch
57 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0106-3.10.7-all-fixes.patch
58 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0107-3.10.8-all-fixes.patch
59 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0108-3.10.9-all-fixes.patch
60 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0109-3.10.10-all-fixes.patch
61 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0110-3.10.11-all-fixes.patch
62 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0111-3.10.12-all-fixes.patch
63 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0112-3.10.13-all-fixes.patch
64 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0113-3.10.14-all-fixes.patch
65 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0114-3.10.15-all-fixes.patch
66 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0115-3.10.16-all-fixes.patch
67 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0116-3.10.17-all-fixes.patch
68 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0117-3.10.18-all-fixes.patch
69 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0118-3.10.19-all-fixes.patch
70 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0119-3.10.20-all-fixes.patch
71 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0120-3.10.21-all-fixes.patch
72 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0121-3.10.22-all-fixes.patch
73 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0122-3.10.23-all-fixes.patch
74 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0123-3.10.24-all-fixes.patch
75 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0124-3.10.25-all-fixes.patch
76 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0125-3.10.26-all-fixes.patch
77 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0126-3.10.27-all-fixes.patch
78 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0127-3.10.28-all-fixes.patch
79 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0128-3.10.29-all-fixes.patch
80 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0129-3.10.30-all-fixes.patch
81 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0130-3.10.31-all-fixes.patch
82 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0131-3.10.32-all-fixes.patch
83 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0132-3.10.33-all-fixes.patch
84 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0133-3.10.34-all-fixes.patch
85 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0134-3.10.35-all-fixes.patch
86 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0135-3.10.36-all-fixes.patch
87 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0136-3.10.37-all-fixes.patch
88 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0137-3.10.38-all-fixes.patch
89 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0138-3.10.39-all-fixes.patch
90 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0139-3.10.40-all-fixes.patch
91 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0140-3.10.41-all-fixes.patch
92 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0141-3.10.42-all-fixes.patch
93 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0142-3.10.43-all-fixes.patch
94 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0143-3.10.44-all-fixes.patch
95 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0144-3.10.45-all-fixes.patch
96 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0145-3.10.46-all-fixes.patch
97 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0146-3.10.47-all-fixes.patch
98 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0147-3.10.48-all-fixes.patch
99 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0148-3.10.49-all-fixes.patch
100 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0149-3.10.50-all-fixes.patch
101 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0150-3.10.51-all-fixes.patch
102 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0151-3.10.52-all-fixes.patch
103 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0152-3.10.53-all-fixes.patch
104 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0153-3.10.54-all-fixes.patch
105 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0154-3.10.55-all-fixes.patch
106 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0155-3.10.56-all-fixes.patch
107 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0156-3.10.57-all-fixes.patch
108 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0157-3.10.58-all-fixes.patch
109 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0158-3.10.59-all-fixes.patch
110 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0159-3.10.60-all-fixes.patch
111 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0160-3.10.61-all-fixes.patch
112 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0161-3.10.62-all-fixes.patch
113 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0162-3.10.63-all-fixes.patch
114 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0163-3.10.64-all-fixes.patch
115 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0164-3.10.65-all-fixes.patch
116 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0165-3.10.66-all-fixes.patch
117 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0166-3.10.67-all-fixes.patch
118 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0167-3.10.68-all-fixes.patch
119 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0168-3.10.69-all-fixes.patch
120 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0169-3.10.70-all-fixes.patch
121 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0170-3.10.71-all-fixes.patch
122 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0171-3.10.72-all-fixes.patch
123 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0172-3.10.73-all-fixes.patch
124 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0173-3.10.74-all-fixes.patch
125 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0174-3.10.75-all-fixes.patch
126 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0175-3.10.76-all-fixes.patch
127 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0176-3.10.77-all-fixes.patch
128 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0177-3.10.78-all-fixes.patch
129 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0178-3.10.79-all-fixes.patch
130 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0179-3.10.80-all-fixes.patch
131 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0180-3.10.81-all-fixes.patch
132 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0181-3.10.82-all-fixes.patch
133 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0182-3.10.83-all-fixes.patch
134 mirror://kernel26-${BRANCH}/patches-${PVER%.*}/0183-3.10.84-all-fixes.patch
135 )
136
137 UP2PVER="${PVER}.6"
138 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
139
140 kernel_apply_patches()
141 {
142 cd ${SRCDIR}
143
144 # 001-100 - ck patches (deprecated atm)
145 # 100-150 - official updates
146 mpatch 0100-3.10.1-all-fixes.patch || die
147 mpatch 0101-3.10.2-all-fixes.patch || die
148 mpatch 0102-3.10.3-all-fixes.patch || die
149 mpatch 0103-3.10.4-all-fixes.patch || die
150 mpatch 0104-3.10.5-all-fixes.patch || die
151 mpatch 0105-3.10.6-all-fixes.patch || die
152 mpatch 0106-3.10.7-all-fixes.patch || die
153 mpatch 0107-3.10.8-all-fixes.patch || die
154 mpatch 0108-3.10.9-all-fixes.patch || die
155 mpatch 0109-3.10.10-all-fixes.patch || die
156 mpatch 0110-3.10.11-all-fixes.patch || die
157 mpatch 0111-3.10.12-all-fixes.patch || die
158 mpatch 0112-3.10.13-all-fixes.patch || die
159 mpatch 0113-3.10.14-all-fixes.patch || die
160 mpatch 0114-3.10.15-all-fixes.patch || die
161 mpatch 0115-3.10.16-all-fixes.patch || die
162 mpatch 0116-3.10.17-all-fixes.patch || die
163 mpatch 0117-3.10.18-all-fixes.patch || die
164 mpatch 0118-3.10.19-all-fixes.patch || die
165 mpatch 0119-3.10.20-all-fixes.patch || die
166 mpatch 0120-3.10.21-all-fixes.patch || die
167 mpatch 0121-3.10.22-all-fixes.patch || die
168 mpatch 0122-3.10.23-all-fixes.patch || die
169 mpatch 0123-3.10.24-all-fixes.patch || die
170 mpatch 0124-3.10.25-all-fixes.patch || die
171 mpatch 0125-3.10.26-all-fixes.patch || die
172 mpatch 0126-3.10.27-all-fixes.patch || die
173 mpatch 0127-3.10.28-all-fixes.patch || die
174 mpatch 0128-3.10.29-all-fixes.patch || die
175 mpatch 0129-3.10.30-all-fixes.patch || die
176 mpatch 0130-3.10.31-all-fixes.patch || die
177 mpatch 0131-3.10.32-all-fixes.patch || die
178 mpatch 0132-3.10.33-all-fixes.patch || die
179 mpatch 0133-3.10.34-all-fixes.patch || die
180 mpatch 0134-3.10.35-all-fixes.patch || die
181 mpatch 0135-3.10.36-all-fixes.patch || die
182 mpatch 0136-3.10.37-all-fixes.patch || die
183 mpatch 0137-3.10.38-all-fixes.patch || die
184 mpatch 0138-3.10.39-all-fixes.patch || die
185 mpatch 0139-3.10.40-all-fixes.patch || die
186 mpatch 0140-3.10.41-all-fixes.patch || die
187 mpatch 0141-3.10.42-all-fixes.patch || die
188 mpatch 0142-3.10.43-all-fixes.patch || die
189 mpatch 0143-3.10.44-all-fixes.patch || die
190 mpatch 0144-3.10.45-all-fixes.patch || die
191 mpatch 0145-3.10.46-all-fixes.patch || die
192 mpatch 0146-3.10.47-all-fixes.patch || die
193 mpatch 0147-3.10.48-all-fixes.patch || die
194 mpatch 0148-3.10.49-all-fixes.patch || die
195 mpatch 0149-3.10.50-all-fixes.patch || die
196 mpatch 0150-3.10.51-all-fixes.patch || die
197 mpatch 0151-3.10.52-all-fixes.patch || die
198 mpatch 0152-3.10.53-all-fixes.patch || die
199 mpatch 0153-3.10.54-all-fixes.patch || die
200 mpatch 0154-3.10.55-all-fixes.patch || die
201 mpatch 0155-3.10.56-all-fixes.patch || die
202 mpatch 0156-3.10.57-all-fixes.patch || die
203 mpatch 0157-3.10.58-all-fixes.patch || die
204 mpatch 0158-3.10.59-all-fixes.patch || die
205 mpatch 0159-3.10.60-all-fixes.patch || die
206 mpatch 0160-3.10.61-all-fixes.patch || die
207 mpatch 0161-3.10.62-all-fixes.patch || die
208 mpatch 0162-3.10.63-all-fixes.patch || die
209 mpatch 0163-3.10.64-all-fixes.patch || die
210 mpatch 0164-3.10.65-all-fixes.patch || die
211 mpatch 0165-3.10.66-all-fixes.patch || die
212 mpatch 0166-3.10.67-all-fixes.patch || die
213 mpatch 0167-3.10.68-all-fixes.patch || die
214 mpatch 0168-3.10.69-all-fixes.patch || die
215 mpatch 0169-3.10.70-all-fixes.patch || die
216 mpatch 0170-3.10.71-all-fixes.patch || die
217 mpatch 0171-3.10.72-all-fixes.patch || die
218 mpatch 0172-3.10.73-all-fixes.patch || die
219 mpatch 0173-3.10.74-all-fixes.patch || die
220 mpatch 0174-3.10.75-all-fixes.patch || die
221 mpatch 0175-3.10.76-all-fixes.patch || die
222 mpatch 0176-3.10.77-all-fixes.patch || die
223 mpatch 0177-3.10.78-all-fixes.patch || die
224 mpatch 0178-3.10.79-all-fixes.patch || die
225 mpatch 0179-3.10.80-all-fixes.patch || die
226 mpatch 0180-3.10.81-all-fixes.patch || die
227 mpatch 0181-3.10.82-all-fixes.patch || die
228 mpatch 0182-3.10.83-all-fixes.patch || die
229 mpatch 0183-3.10.84-all-fixes.patch || die
230 # 150-300 - magellan patches, driver updates etc
231 # 300-400 - compilations fixes and other
232 }
233
234 postinstall()
235 {
236 kernel26_sources_postinstall
237 alx_postinstall
238 }