Magellan Linux

Contents of /smage/trunk/core/linux-libc-headers/linux-libc-headers-4.9.118-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13887 - (show annotations) (download)
Fri Jun 26 19:40:54 2020 UTC (3 years, 10 months ago) by niro
File size: 14900 byte(s)
-reverted to r13050
1 # $Id$
2
3 PNAME="linux-libc-headers"
4 PVER="4.9.118"
5 PBUILD="r1"
6
7 # when upgrading linux headers, glibc must be rebuilded
8 # on system bootstrap you should rebuild the whole toolchain
9 # linux-libc-headers -> binutils -> gcc-full -> libc -> binutils -> gcc-full -> libc
10 #
11 # or one-way solution (not always safe, use this only for interim gcc releases)
12 # linux-libc-headers -> libc -> binutils -> gcc-full -> binutils -> libc
13 #
14 # each new gcc release needs a rebuild of libtool
15
16 # no need to waste time here
17 msetfeature "!strip"
18
19 KERNEL_TYPE="headers"
20 BRANCH="alx"
21 TARBALLPVER="${PVER%.*}"
22 sminclude kernel
23
24 SRC_URI+=(
25 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-4.9.1-all-fixes.patch
26 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.9.2-all-fixes.patch
27 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.9.3-all-fixes.patch
28 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.9.4-all-fixes.patch
29 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.9.5-all-fixes.patch
30 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.9.6-all-fixes.patch
31 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.9.7-all-fixes.patch
32 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-4.9.8-all-fixes.patch
33 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-4.9.9-all-fixes.patch
34 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-4.9.10-all-fixes.patch
35 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-4.9.11-all-fixes.patch
36 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-4.9.12-all-fixes.patch
37 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-4.9.13-all-fixes.patch
38 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-4.9.14-all-fixes.patch
39 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-4.9.15-all-fixes.patch
40 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-4.9.16-all-fixes.patch
41 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-4.9.17-all-fixes.patch
42 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-4.9.18-all-fixes.patch
43 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-4.9.19-all-fixes.patch
44 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-4.9.20-all-fixes.patch
45 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-4.9.21-all-fixes.patch
46 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0121-4.9.22-all-fixes.patch
47 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0122-4.9.23-all-fixes.patch
48 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0123-4.9.24-all-fixes.patch
49 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0124-4.9.25-all-fixes.patch
50 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0125-4.9.26-all-fixes.patch
51 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0126-4.9.27-all-fixes.patch
52 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0127-4.9.28-all-fixes.patch
53 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0128-4.9.29-all-fixes.patch
54 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0129-4.9.30-all-fixes.patch
55 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0130-4.9.31-all-fixes.patch
56 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0131-4.9.32-all-fixes.patch
57 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0132-4.9.33-all-fixes.patch
58 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0133-4.9.34-all-fixes.patch
59 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0134-4.9.35-all-fixes.patch
60 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0135-4.9.36-all-fixes.patch
61 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0136-4.9.37-all-fixes.patch
62 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0137-4.9.38-all-fixes.patch
63 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0138-4.9.39-all-fixes.patch
64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0139-4.9.40-all-fixes.patch
65 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0140-4.9.41-all-fixes.patch
66 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0141-4.9.42-all-fixes.patch
67 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0142-4.9.43-all-fixes.patch
68 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0143-4.9.44-all-fixes.patch
69 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0144-4.9.45-all-fixes.patch
70 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0145-4.9.46-all-fixes.patch
71 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0146-4.9.47-all-fixes.patch
72 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0147-4.9.48-all-fixes.patch
73 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0148-4.9.49-all-fixes.patch
74 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0149-4.9.50-all-fixes.patch
75 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0150-4.9.51-all-fixes.patch
76 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0151-4.9.52-all-fixes.patch
77 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0152-4.9.53-all-fixes.patch
78 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0153-4.9.54-all-fixes.patch
79 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0154-4.9.55-all-fixes.patch
80 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0155-4.9.56-all-fixes.patch
81 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0156-4.9.57-all-fixes.patch
82 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0157-4.9.58-all-fixes.patch
83 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0158-4.9.59-all-fixes.patch
84 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0159-4.9.60-all-fixes.patch
85 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0160-4.9.61-all-fixes.patch
86 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0161-4.9.62-all-fixes.patch
87 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0162-4.9.63-all-fixes.patch
88 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0163-4.9.64-all-fixes.patch
89 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0164-4.9.65-all-fixes.patch
90 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0165-4.9.66-all-fixes.patch
91 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0166-4.9.67-all-fixes.patch
92 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0167-4.9.68-all-fixes.patch
93 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0168-4.9.69-all-fixes.patch
94 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0169-4.9.70-all-fixes.patch
95 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0170-4.9.71-all-fixes.patch
96 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0171-4.9.72-all-fixes.patch
97 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0172-4.9.73-all-fixes.patch
98 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0173-4.9.74-all-fixes.patch
99 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0174-4.9.75-all-fixes.patch
100 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0175-4.9.76-all-fixes.patch
101 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0176-4.9.77-all-fixes.patch
102 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0177-4.9.78-all-fixes.patch
103 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0178-4.9.79-all-fixes.patch
104 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0179-4.9.80-all-fixes.patch
105 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0180-4.9.81-all-fixes.patch
106 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0181-4.9.82-all-fixes.patch
107 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0182-4.9.83-all-fixes.patch
108 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0183-4.9.84-all-fixes.patch
109 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0184-4.9.85-all-fixes.patch
110 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0185-4.9.86-all-fixes.patch
111 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0186-4.9.87-all-fixes.patch
112 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0187-4.9.88-all-fixes.patch
113 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0188-4.9.89-all-fixes.patch
114 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0189-4.9.90-all-fixes.patch
115 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0190-4.9.91-all-fixes.patch
116 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0191-4.9.92-all-fixes.patch
117 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0192-4.9.93-all-fixes.patch
118 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0193-4.9.94-all-fixes.patch
119 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0194-4.9.95-all-fixes.patch
120 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0195-4.9.96-all-fixes.patch
121 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0196-4.9.97-all-fixes.patch
122 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0197-4.9.98-all-fixes.patch
123 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0198-4.9.99-all-fixes.patch
124 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0199-4.9.100-all-fixes.patch
125 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0200-4.9.101-all-fixes.patch
126 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0201-4.9.102-all-fixes.patch
127 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0202-4.9.103-all-fixes.patch
128 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0203-4.9.104-all-fixes.patch
129 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0204-4.9.105-all-fixes.patch
130 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0205-4.9.106-all-fixes.patch
131 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0206-4.9.107-all-fixes.patch
132 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0207-4.9.108-all-fixes.patch
133 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0208-4.9.109-all-fixes.patch
134 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0209-4.9.110-all-fixes.patch
135 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0210-4.9.111-all-fixes.patch
136 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0211-4.9.112-all-fixes.patch
137 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0212-4.9.113-all-fixes.patch
138 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0213-4.9.114-all-fixes.patch
139 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0214-4.9.115-all-fixes.patch
140 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0215-4.9.116-all-fixes.patch
141 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0216-4.9.117-all-fixes.patch
142 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0217-4.9.118-all-fixes.patch
143 )
144
145 # stable-tree
146 #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
147 # longterm tree
148 UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
149
150 kernel_apply_patches()
151 {
152 cd ${SRCDIR}
153
154 # 100-150 - official updates
155 mpatch 0100-4.9.1-all-fixes.patch || die
156 mpatch 0101-4.9.2-all-fixes.patch || die
157 mpatch 0102-4.9.3-all-fixes.patch || die
158 mpatch 0103-4.9.4-all-fixes.patch || die
159 mpatch 0104-4.9.5-all-fixes.patch || die
160 mpatch 0105-4.9.6-all-fixes.patch || die
161 mpatch 0106-4.9.7-all-fixes.patch || die
162 mpatch 0107-4.9.8-all-fixes.patch || die
163 mpatch 0108-4.9.9-all-fixes.patch || die
164 mpatch 0109-4.9.10-all-fixes.patch || die
165 mpatch 0110-4.9.11-all-fixes.patch || die
166 mpatch 0111-4.9.12-all-fixes.patch || die
167 mpatch 0112-4.9.13-all-fixes.patch || die
168 mpatch 0113-4.9.14-all-fixes.patch || die
169 mpatch 0114-4.9.15-all-fixes.patch || die
170 mpatch 0115-4.9.16-all-fixes.patch || die
171 mpatch 0116-4.9.17-all-fixes.patch || die
172 mpatch 0117-4.9.18-all-fixes.patch || die
173 mpatch 0118-4.9.19-all-fixes.patch || die
174 mpatch 0119-4.9.20-all-fixes.patch || die
175 mpatch 0120-4.9.21-all-fixes.patch || die
176 mpatch 0121-4.9.22-all-fixes.patch || die
177 mpatch 0122-4.9.23-all-fixes.patch || die
178 mpatch 0123-4.9.24-all-fixes.patch || die
179 mpatch 0124-4.9.25-all-fixes.patch || die
180 mpatch 0125-4.9.26-all-fixes.patch || die
181 mpatch 0126-4.9.27-all-fixes.patch || die
182 mpatch 0127-4.9.28-all-fixes.patch || die
183 mpatch 0128-4.9.29-all-fixes.patch || die
184 mpatch 0129-4.9.30-all-fixes.patch || die
185 mpatch 0130-4.9.31-all-fixes.patch || die
186 mpatch 0131-4.9.32-all-fixes.patch || die
187 mpatch 0132-4.9.33-all-fixes.patch || die
188 mpatch 0133-4.9.34-all-fixes.patch || die
189 mpatch 0134-4.9.35-all-fixes.patch || die
190 mpatch 0135-4.9.36-all-fixes.patch || die
191 mpatch 0136-4.9.37-all-fixes.patch || die
192 mpatch 0137-4.9.38-all-fixes.patch || die
193 mpatch 0138-4.9.39-all-fixes.patch || die
194 mpatch 0139-4.9.40-all-fixes.patch || die
195 mpatch 0140-4.9.41-all-fixes.patch || die
196 mpatch 0141-4.9.42-all-fixes.patch || die
197 mpatch 0142-4.9.43-all-fixes.patch || die
198 mpatch 0143-4.9.44-all-fixes.patch || die
199 mpatch 0144-4.9.45-all-fixes.patch || die
200 mpatch 0145-4.9.46-all-fixes.patch || die
201 mpatch 0146-4.9.47-all-fixes.patch || die
202 mpatch 0147-4.9.48-all-fixes.patch || die
203 mpatch 0148-4.9.49-all-fixes.patch || die
204 mpatch 0149-4.9.50-all-fixes.patch || die
205 mpatch 0150-4.9.51-all-fixes.patch || die
206 mpatch 0151-4.9.52-all-fixes.patch || die
207 mpatch 0152-4.9.53-all-fixes.patch || die
208 mpatch 0153-4.9.54-all-fixes.patch || die
209 mpatch 0154-4.9.55-all-fixes.patch || die
210 mpatch 0155-4.9.56-all-fixes.patch || die
211 mpatch 0156-4.9.57-all-fixes.patch || die
212 mpatch 0157-4.9.58-all-fixes.patch || die
213 mpatch 0158-4.9.59-all-fixes.patch || die
214 mpatch 0159-4.9.60-all-fixes.patch || die
215 mpatch 0160-4.9.61-all-fixes.patch || die
216 mpatch 0161-4.9.62-all-fixes.patch || die
217 mpatch 0162-4.9.63-all-fixes.patch || die
218 mpatch 0163-4.9.64-all-fixes.patch || die
219 mpatch 0164-4.9.65-all-fixes.patch || die
220 mpatch 0165-4.9.66-all-fixes.patch || die
221 mpatch 0166-4.9.67-all-fixes.patch || die
222 mpatch 0167-4.9.68-all-fixes.patch || die
223 mpatch 0168-4.9.69-all-fixes.patch || die
224 mpatch 0169-4.9.70-all-fixes.patch || die
225 mpatch 0170-4.9.71-all-fixes.patch || die
226 mpatch 0171-4.9.72-all-fixes.patch || die
227 mpatch 0172-4.9.73-all-fixes.patch || die
228 mpatch 0173-4.9.74-all-fixes.patch || die
229 mpatch 0174-4.9.75-all-fixes.patch || die
230 mpatch 0175-4.9.76-all-fixes.patch || die
231 mpatch 0176-4.9.77-all-fixes.patch || die
232 mpatch 0177-4.9.78-all-fixes.patch || die
233 mpatch 0178-4.9.79-all-fixes.patch || die
234 mpatch 0179-4.9.80-all-fixes.patch || die
235 mpatch 0180-4.9.81-all-fixes.patch || die
236 mpatch 0181-4.9.82-all-fixes.patch || die
237 mpatch 0182-4.9.83-all-fixes.patch || die
238 mpatch 0183-4.9.84-all-fixes.patch || die
239 mpatch 0184-4.9.85-all-fixes.patch || die
240 mpatch 0185-4.9.86-all-fixes.patch || die
241 mpatch 0186-4.9.87-all-fixes.patch || die
242 mpatch 0187-4.9.88-all-fixes.patch || die
243 mpatch 0188-4.9.89-all-fixes.patch || die
244 mpatch 0189-4.9.90-all-fixes.patch || die
245 mpatch 0190-4.9.91-all-fixes.patch || die
246 mpatch 0191-4.9.92-all-fixes.patch || die
247 mpatch 0192-4.9.93-all-fixes.patch || die
248 mpatch 0193-4.9.94-all-fixes.patch || die
249 mpatch 0194-4.9.95-all-fixes.patch || die
250 mpatch 0195-4.9.96-all-fixes.patch || die
251 mpatch 0196-4.9.97-all-fixes.patch || die
252 mpatch 0197-4.9.98-all-fixes.patch || die
253 mpatch 0198-4.9.99-all-fixes.patch || die
254 mpatch 0199-4.9.100-all-fixes.patch || die
255 mpatch 0200-4.9.101-all-fixes.patch || die
256 mpatch 0201-4.9.102-all-fixes.patch || die
257 mpatch 0202-4.9.103-all-fixes.patch || die
258 mpatch 0203-4.9.104-all-fixes.patch || die
259 mpatch 0204-4.9.105-all-fixes.patch || die
260 mpatch 0205-4.9.106-all-fixes.patch || die
261 mpatch 0206-4.9.107-all-fixes.patch || die
262 mpatch 0207-4.9.108-all-fixes.patch || die
263 mpatch 0208-4.9.109-all-fixes.patch || die
264 mpatch 0209-4.9.110-all-fixes.patch || die
265 mpatch 0210-4.9.111-all-fixes.patch || die
266 mpatch 0211-4.9.112-all-fixes.patch || die
267 mpatch 0212-4.9.113-all-fixes.patch || die
268 mpatch 0213-4.9.114-all-fixes.patch || die
269 mpatch 0214-4.9.115-all-fixes.patch || die
270 mpatch 0215-4.9.116-all-fixes.patch || die
271 mpatch 0216-4.9.117-all-fixes.patch || die
272 mpatch 0217-4.9.118-all-fixes.patch || die
273 }
274
275 src_install()
276 {
277 kernel_src_install
278
279 # use always drm headers from libdrm
280 mdelete -r /usr/include/drm || die
281 }