Annotation of /trunk/core/linux-libc-headers/linux-libc-headers-4.11.7-r1.smage2
Parent Directory | Revision Log
Revision 29539 -
(hide annotations)
(download)
Mon Jun 26 08:43:22 2017 UTC (6 years, 11 months ago) by niro
File size: 1625 byte(s)
Mon Jun 26 08:43:22 2017 UTC (6 years, 11 months ago) by niro
File size: 1625 byte(s)
auto added: ver bump to 4.11.7-r1
1 | niro | 29539 | # $Id$ |
2 | |||
3 | PNAME="linux-libc-headers" | ||
4 | PVER="4.11.7" | ||
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="magellan" | ||
21 | TARBALLPVER="${PVER%.*}" | ||
22 | sminclude kernel | ||
23 | |||
24 | SRC_URI+=( | ||
25 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-4.11.1-all-fixes.patch | ||
26 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.11.2-all-fixes.patch | ||
27 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.11.3-all-fixes.patch | ||
28 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.11.4-all-fixes.patch | ||
29 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.11.5-all-fixes.patch | ||
30 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.11.6-all-fixes.patch | ||
31 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.11.7-all-fixes.patch | ||
32 | ) | ||
33 | |||
34 | kernel_apply_patches() | ||
35 | { | ||
36 | cd ${SRCDIR} | ||
37 | |||
38 | # 100-150 - official updates | ||
39 | mpatch 0100-4.11.1-all-fixes.patch || die | ||
40 | mpatch 0101-4.11.2-all-fixes.patch || die | ||
41 | mpatch 0102-4.11.3-all-fixes.patch || die | ||
42 | mpatch 0103-4.11.4-all-fixes.patch || die | ||
43 | mpatch 0104-4.11.5-all-fixes.patch || die | ||
44 | mpatch 0105-4.11.6-all-fixes.patch || die | ||
45 | mpatch 0106-4.11.7-all-fixes.patch || die | ||
46 | } | ||
47 | |||
48 | src_install() | ||
49 | { | ||
50 | kernel_src_install | ||
51 | |||
52 | # use always drm headers from libdrm | ||
53 | mdelete -r /usr/include/drm || die | ||
54 | } |