Annotation of /branches/magellan-next/core/linux-libc-headers/linux-libc-headers-3.1.8-r1.smage2
Parent Directory | Revision Log
Revision 9744 -
(hide annotations)
(download)
Tue Jan 10 14:10:50 2012 UTC (12 years, 4 months ago) by niro
File size: 1550 byte(s)
Tue Jan 10 14:10:50 2012 UTC (12 years, 4 months ago) by niro
File size: 1550 byte(s)
-added tarballpver to download the right tarball
1 | niro | 9741 | # $Id$ |
2 | |||
3 | PNAME="linux-libc-headers" | ||
4 | PVER="3.1.8" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | niro | 9742 | # when upgrading linux headers, glibc must be rebuilded |
8 | # on system bootstrap you should rebuild the whole toolchain | ||
9 | # linux-libc-headers -> binutils -> gcc -> libc -> binutils -> gcc -> libc | ||
10 | |||
11 | niro | 9741 | # no need to waste time here |
12 | msetfeature "!strip" | ||
13 | |||
14 | KERNEL_TYPE="headers" | ||
15 | BRANCH="magellan" | ||
16 | niro | 9744 | TARBALLPVER="${PVER%.*}" |
17 | niro | 9741 | sminclude kernel |
18 | |||
19 | SRC_URI=( ${SRC_URI[*]} | ||
20 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.1.1-all-fixes.patch | ||
21 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.1.2-all-fixes.patch | ||
22 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.1.3-all-fixes.patch | ||
23 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.1.4-all-fixes.patch | ||
24 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.1.5-all-fixes.patch | ||
25 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.1.6-all-fixes.patch | ||
26 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.1.7-all-fixes.patch | ||
27 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.1.8-all-fixes.patch | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p' | cut -d. -f1-3" | ||
31 | |||
32 | src_prepare() | ||
33 | { | ||
34 | kernel_src_prepare || die | ||
35 | |||
36 | # 100-150 - official updates | ||
37 | mpatch 0100-3.1.1-all-fixes.patch || die | ||
38 | mpatch 0101-3.1.2-all-fixes.patch || die | ||
39 | mpatch 0102-3.1.3-all-fixes.patch || die | ||
40 | mpatch 0103-3.1.4-all-fixes.patch || die | ||
41 | mpatch 0104-3.1.5-all-fixes.patch || die | ||
42 | mpatch 0105-3.1.6-all-fixes.patch || die | ||
43 | mpatch 0106-3.1.7-all-fixes.patch || die | ||
44 | mpatch 0107-3.1.8-all-fixes.patch || die | ||
45 | } |