Contents of /smage/trunk/core/linux-libc-headers/linux-libc-headers-4.4.21-r1.smage2
Parent Directory | Revision Log
Revision 9108 -
(show annotations)
(download)
Fri Sep 16 08:35:51 2016 UTC (8 years ago) by niro
File size: 3512 byte(s)
Fri Sep 16 08:35:51 2016 UTC (8 years ago) by niro
File size: 3512 byte(s)
auto added: ver bump to 4.4.21-r1
1 | # $Id$ |
2 | |
3 | PNAME="linux-libc-headers" |
4 | PVER="4.4.21" |
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.4.1-all-fixes.patch |
26 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.4.2-all-fixes.patch |
27 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.4.3-all-fixes.patch |
28 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.4.4-all-fixes.patch |
29 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.4.5-all-fixes.patch |
30 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.4.6-all-fixes.patch |
31 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.4.7-all-fixes.patch |
32 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-4.4.8-all-fixes.patch |
33 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-4.4.9-all-fixes.patch |
34 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-4.4.10-all-fixes.patch |
35 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-4.4.11-all-fixes.patch |
36 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-4.4.12-all-fixes.patch |
37 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-4.4.13-all-fixes.patch |
38 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-4.4.14-all-fixes.patch |
39 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-4.4.15-all-fixes.patch |
40 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-4.4.16-all-fixes.patch |
41 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-4.4.17-all-fixes.patch |
42 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-4.4.18-all-fixes.patch |
43 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-4.4.19-all-fixes.patch |
44 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-4.4.20-all-fixes.patch |
45 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-4.4.21-all-fixes.patch |
46 | ) |
47 | |
48 | # stable-tree |
49 | #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" |
50 | # longterm tree |
51 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'" |
52 | |
53 | kernel_apply_patches() |
54 | { |
55 | cd ${SRCDIR} |
56 | |
57 | # 100-150 - official updates |
58 | mpatch 0100-4.4.1-all-fixes.patch || die |
59 | mpatch 0101-4.4.2-all-fixes.patch || die |
60 | mpatch 0102-4.4.3-all-fixes.patch || die |
61 | mpatch 0103-4.4.4-all-fixes.patch || die |
62 | mpatch 0104-4.4.5-all-fixes.patch || die |
63 | mpatch 0105-4.4.6-all-fixes.patch || die |
64 | mpatch 0106-4.4.7-all-fixes.patch || die |
65 | mpatch 0107-4.4.8-all-fixes.patch || die |
66 | mpatch 0108-4.4.9-all-fixes.patch || die |
67 | mpatch 0109-4.4.10-all-fixes.patch || die |
68 | mpatch 0110-4.4.11-all-fixes.patch || die |
69 | mpatch 0111-4.4.12-all-fixes.patch || die |
70 | mpatch 0112-4.4.13-all-fixes.patch || die |
71 | mpatch 0113-4.4.14-all-fixes.patch || die |
72 | mpatch 0114-4.4.15-all-fixes.patch || die |
73 | mpatch 0115-4.4.16-all-fixes.patch || die |
74 | mpatch 0116-4.4.17-all-fixes.patch || die |
75 | mpatch 0117-4.4.18-all-fixes.patch || die |
76 | mpatch 0118-4.4.19-all-fixes.patch || die |
77 | mpatch 0119-4.4.20-all-fixes.patch || die |
78 | mpatch 0120-4.4.21-all-fixes.patch || die |
79 | } |
80 | |
81 | src_install() |
82 | { |
83 | kernel_src_install |
84 | |
85 | # use always drm headers from libdrm |
86 | mdelete -r /usr/include/drm || die |
87 | } |