Contents of /trunk/core/linux-libc-headers/linux-libc-headers-3.4.2-r1.smage2
Parent Directory | Revision Log
Revision 12602 -
(show annotations)
(download)
Thu Jun 14 14:12:49 2012 UTC (11 years, 11 months ago) by niro
File size: 878 byte(s)
Thu Jun 14 14:12:49 2012 UTC (11 years, 11 months ago) by niro
File size: 878 byte(s)
-marked unstable
1 | # $Id$ |
2 | |
3 | PNAME="linux-libc-headers" |
4 | PVER="3.4.2" |
5 | PBUILD="r1" |
6 | |
7 | STATE="unstable" |
8 | |
9 | # when upgrading linux headers, glibc must be rebuilded |
10 | # on system bootstrap you should rebuild the whole toolchain |
11 | # linux-libc-headers -> binutils -> gcc -> libc -> binutils -> gcc -> libc |
12 | |
13 | # no need to waste time here |
14 | msetfeature "!strip" |
15 | |
16 | KERNEL_TYPE="headers" |
17 | BRANCH="magellan" |
18 | TARBALLPVER="${PVER%.*}" |
19 | sminclude kernel |
20 | |
21 | SRC_URI=( ${SRC_URI[*]} |
22 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.4.1-all-fixes.patch |
23 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.4.2-all-fixes.patch |
24 | ) |
25 | |
26 | 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" |
27 | |
28 | src_prepare() |
29 | { |
30 | kernel_src_prepare || die |
31 | |
32 | # 100-150 - official updates |
33 | mpatch 0100-3.4.1-all-fixes.patch || die |
34 | mpatch 0101-3.4.2-all-fixes.patch || die |
35 | } |