Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14399 - (show annotations) (download)
Fri Jul 10 08:46:43 2020 UTC (3 years, 9 months ago) by niro
File size: 6806 byte(s)
-disabled
1 # $Id$
2
3 PNAME="linux-libc-headers"
4 PVER="5.4.49"
5 PBUILD="r1"
6
7 STATE="disabled"
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-full -> libc -> binutils -> gcc-full -> libc
12 #
13 # or one-way solution (not always safe, use this only for interim gcc releases)
14 # linux-libc-headers -> libc -> binutils -> gcc-full -> binutils -> libc
15 #
16 # each new gcc release needs a rebuild of libtool
17
18 # no need to waste time here
19 msetfeature "!strip"
20
21 KERNEL_TYPE="headers"
22 BRANCH="alx"
23 TARBALLPVER="${PVER%.*}"
24 sminclude kernel
25
26 SRC_URI+=(
27 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-5.4.1-all-fixes.patch
28 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-5.4.2-all-fixes.patch
29 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-5.4.3-all-fixes.patch
30 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-5.4.4-all-fixes.patch
31 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-5.4.5-all-fixes.patch
32 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-5.4.6-all-fixes.patch
33 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-5.4.7-all-fixes.patch
34 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-5.4.8-all-fixes.patch
35 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-5.4.9-all-fixes.patch
36 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-5.4.10-all-fixes.patch
37 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-5.4.11-all-fixes.patch
38 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-5.4.12-all-fixes.patch
39 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-5.4.13-all-fixes.patch
40 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-5.4.14-all-fixes.patch
41 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-5.4.15-all-fixes.patch
42 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-5.4.16-all-fixes.patch
43 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-5.4.17-all-fixes.patch
44 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-5.4.18-all-fixes.patch
45 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-5.4.19-all-fixes.patch
46 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-5.4.20-all-fixes.patch
47 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-5.4.21-all-fixes.patch
48 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0121-5.4.22-all-fixes.patch
49 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0122-5.4.23-all-fixes.patch
50 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0123-5.4.24-all-fixes.patch
51 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0124-5.4.25-all-fixes.patch
52 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0125-5.4.26-all-fixes.patch
53 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0126-5.4.27-all-fixes.patch
54 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0127-5.4.28-all-fixes.patch
55 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0128-5.4.29-all-fixes.patch
56 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0129-5.4.30-all-fixes.patch
57 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0130-5.4.31-all-fixes.patch
58 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0131-5.4.32-all-fixes.patch
59 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0132-5.4.33-all-fixes.patch
60 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0133-5.4.34-all-fixes.patch
61 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0134-5.4.35-all-fixes.patch
62 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0135-5.4.36-all-fixes.patch
63 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0136-5.4.37-all-fixes.patch
64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0137-5.4.38-all-fixes.patch
65 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0138-5.4.39-all-fixes.patch
66 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0139-5.4.40-all-fixes.patch
67 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0140-5.4.41-all-fixes.patch
68 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0141-5.4.42-all-fixes.patch
69 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0142-5.4.43-all-fixes.patch
70 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0143-5.4.44-all-fixes.patch
71 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0144-5.4.45-all-fixes.patch
72 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0145-5.4.46-all-fixes.patch
73 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0146-5.4.47-all-fixes.patch
74 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0147-5.4.48-all-fixes.patch
75 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0148-5.4.49-all-fixes.patch
76 )
77
78 # stable-tree
79 #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
80 # longterm tree
81 UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
82
83 kernel_apply_patches()
84 {
85 cd ${SRCDIR}
86
87 # 100-150 - official updates
88 mpatch 0100-5.4.1-all-fixes.patch || die
89 mpatch 0101-5.4.2-all-fixes.patch || die
90 mpatch 0102-5.4.3-all-fixes.patch || die
91 mpatch 0103-5.4.4-all-fixes.patch || die
92 mpatch 0104-5.4.5-all-fixes.patch || die
93 mpatch 0105-5.4.6-all-fixes.patch || die
94 mpatch 0106-5.4.7-all-fixes.patch || die
95 mpatch 0107-5.4.8-all-fixes.patch || die
96 mpatch 0108-5.4.9-all-fixes.patch || die
97 mpatch 0109-5.4.10-all-fixes.patch || die
98 mpatch 0110-5.4.11-all-fixes.patch || die
99 mpatch 0111-5.4.12-all-fixes.patch || die
100 mpatch 0112-5.4.13-all-fixes.patch || die
101 mpatch 0113-5.4.14-all-fixes.patch || die
102 mpatch 0114-5.4.15-all-fixes.patch || die
103 mpatch 0115-5.4.16-all-fixes.patch || die
104 mpatch 0116-5.4.17-all-fixes.patch || die
105 mpatch 0117-5.4.18-all-fixes.patch || die
106 mpatch 0118-5.4.19-all-fixes.patch || die
107 mpatch 0119-5.4.20-all-fixes.patch || die
108 mpatch 0120-5.4.21-all-fixes.patch || die
109 mpatch 0121-5.4.22-all-fixes.patch || die
110 mpatch 0122-5.4.23-all-fixes.patch || die
111 mpatch 0123-5.4.24-all-fixes.patch || die
112 mpatch 0124-5.4.25-all-fixes.patch || die
113 mpatch 0125-5.4.26-all-fixes.patch || die
114 mpatch 0126-5.4.27-all-fixes.patch || die
115 mpatch 0127-5.4.28-all-fixes.patch || die
116 mpatch 0128-5.4.29-all-fixes.patch || die
117 mpatch 0129-5.4.30-all-fixes.patch || die
118 mpatch 0130-5.4.31-all-fixes.patch || die
119 mpatch 0131-5.4.32-all-fixes.patch || die
120 mpatch 0132-5.4.33-all-fixes.patch || die
121 mpatch 0133-5.4.34-all-fixes.patch || die
122 mpatch 0134-5.4.35-all-fixes.patch || die
123 mpatch 0135-5.4.36-all-fixes.patch || die
124 mpatch 0136-5.4.37-all-fixes.patch || die
125 mpatch 0137-5.4.38-all-fixes.patch || die
126 mpatch 0138-5.4.39-all-fixes.patch || die
127 mpatch 0139-5.4.40-all-fixes.patch || die
128 mpatch 0140-5.4.41-all-fixes.patch || die
129 mpatch 0141-5.4.42-all-fixes.patch || die
130 mpatch 0142-5.4.43-all-fixes.patch || die
131 mpatch 0143-5.4.44-all-fixes.patch || die
132 mpatch 0144-5.4.45-all-fixes.patch || die
133 mpatch 0145-5.4.46-all-fixes.patch || die
134 mpatch 0146-5.4.47-all-fixes.patch || die
135 mpatch 0147-5.4.48-all-fixes.patch || die
136 mpatch 0148-5.4.49-all-fixes.patch || die
137 }
138
139 src_install()
140 {
141 kernel_src_install
142
143 # use always drm headers from libdrm
144 mdelete -r /usr/include/drm || die
145 }