Magellan Linux

Contents of /trunk/core/linux-libc-headers/linux-libc-headers-4.14.15-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 30571 - (show annotations) (download)
Tue Jan 30 12:55:03 2018 UTC (6 years, 3 months ago) by niro
File size: 2574 byte(s)
-fixed broken pver
1 # $Id$
2
3 PNAME="linux-libc-headers"
4 PVER="4.14.15"
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.14.1-all-fixes.patch
26 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.14.2-all-fixes.patch
27 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.14.3-all-fixes.patch
28 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.14.4-all-fixes.patch
29 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.14.5-all-fixes.patch
30 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.14.6-all-fixes.patch
31 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.14.7-all-fixes.patch
32 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-4.14.8-all-fixes.patch
33 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-4.14.9-all-fixes.patch
34 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-4.14.10-all-fixes.patch
35 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-4.14.11-all-fixes.patch
36 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-4.14.12-all-fixes.patch
37 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-4.14.13-all-fixes.patch
38 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-4.14.14-all-fixes.patch
39 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-4.14.15-all-fixes.patch
40 )
41
42 kernel_apply_patches()
43 {
44 cd ${SRCDIR}
45
46 # 100-150 - official updates
47 mpatch 0100-4.14.1-all-fixes.patch || die
48 mpatch 0101-4.14.2-all-fixes.patch || die
49 mpatch 0102-4.14.3-all-fixes.patch || die
50 mpatch 0103-4.14.4-all-fixes.patch || die
51 mpatch 0104-4.14.5-all-fixes.patch || die
52 mpatch 0105-4.14.6-all-fixes.patch || die
53 mpatch 0106-4.14.7-all-fixes.patch || die
54 mpatch 0107-4.14.8-all-fixes.patch || die
55 mpatch 0108-4.14.9-all-fixes.patch || die
56 mpatch 0109-4.14.10-all-fixes.patch || die
57 mpatch 0110-4.14.11-all-fixes.patch || die
58 mpatch 0111-4.14.12-all-fixes.patch || die
59 mpatch 0112-4.14.13-all-fixes.patch || die
60 mpatch 0113-4.14.14-all-fixes.patch || die
61 mpatch 0114-4.14.15-all-fixes.patch || die
62 }
63
64 src_install()
65 {
66 kernel_src_install
67
68 # use always drm headers from libdrm
69 mdelete -r /usr/include/drm || die
70 }