Annotation of /trunk/core/linux-libc-headers/linux-libc-headers-5.3.2-r1.smage2
Parent Directory | Revision Log
Revision 32917 -
(hide annotations)
(download)
Fri Oct 4 07:58:26 2019 UTC (4 years, 11 months ago) by niro
File size: 1035 byte(s)
Fri Oct 4 07:58:26 2019 UTC (4 years, 11 months ago) by niro
File size: 1035 byte(s)
auto added: ver bump to 5.3.2-r1
1 | niro | 32917 | # $Id$ |
2 | |||
3 | PNAME="linux-libc-headers" | ||
4 | PVER="5.3.2" | ||
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-5.3.1-all-fixes.patch | ||
26 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-5.3.2-all-fixes.patch | ||
27 | ) | ||
28 | |||
29 | kernel_apply_patches() | ||
30 | { | ||
31 | cd ${SRCDIR} | ||
32 | |||
33 | # 100-150 - official updates | ||
34 | mpatch 0100-5.3.1-all-fixes.patch || die | ||
35 | mpatch 0101-5.3.2-all-fixes.patch || die | ||
36 | } | ||
37 | |||
38 | src_install() | ||
39 | { | ||
40 | kernel_src_install | ||
41 | |||
42 | # use always drm headers from libdrm | ||
43 | mdelete -r /usr/include/drm || die | ||
44 | } |