Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13749 - (show annotations) (download)
Thu Aug 15 09:34:34 2019 UTC (4 years, 8 months ago) by niro
File size: 8910 byte(s)
auto added: ver bump to 4.19.66-r1
1 # $Id$
2
3 PNAME="linux-libc-headers"
4 PVER="4.19.66"
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.19.1-all-fixes.patch
26 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.19.2-all-fixes.patch
27 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.19.3-all-fixes.patch
28 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.19.4-all-fixes.patch
29 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.19.5-all-fixes.patch
30 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.19.6-all-fixes.patch
31 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.19.7-all-fixes.patch
32 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-4.19.8-all-fixes.patch
33 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-4.19.9-all-fixes.patch
34 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-4.19.10-all-fixes.patch
35 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-4.19.11-all-fixes.patch
36 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-4.19.12-all-fixes.patch
37 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-4.19.13-all-fixes.patch
38 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-4.19.14-all-fixes.patch
39 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-4.19.15-all-fixes.patch
40 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-4.19.16-all-fixes.patch
41 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-4.19.17-all-fixes.patch
42 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-4.19.18-all-fixes.patch
43 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-4.19.19-all-fixes.patch
44 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-4.19.20-all-fixes.patch
45 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-4.19.21-all-fixes.patch
46 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0121-4.19.22-all-fixes.patch
47 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0122-4.19.23-all-fixes.patch
48 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0123-4.19.24-all-fixes.patch
49 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0124-4.19.25-all-fixes.patch
50 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0125-4.19.26-all-fixes.patch
51 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0126-4.19.27-all-fixes.patch
52 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0127-4.19.28-all-fixes.patch
53 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0128-4.19.29-all-fixes.patch
54 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0129-4.19.30-all-fixes.patch
55 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0130-4.19.31-all-fixes.patch
56 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0131-4.19.32-all-fixes.patch
57 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0132-4.19.33-all-fixes.patch
58 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0133-4.19.34-all-fixes.patch
59 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0134-4.19.35-all-fixes.patch
60 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0135-4.19.36-all-fixes.patch
61 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0136-4.19.37-all-fixes.patch
62 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0137-4.19.38-all-fixes.patch
63 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0138-4.19.39-all-fixes.patch
64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0139-4.19.40-all-fixes.patch
65 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0140-4.19.41-all-fixes.patch
66 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0141-4.19.42-all-fixes.patch
67 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0142-4.19.43-all-fixes.patch
68 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0143-4.19.44-all-fixes.patch
69 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0144-4.19.45-all-fixes.patch
70 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0145-4.19.46-all-fixes.patch
71 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0146-4.19.47-all-fixes.patch
72 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0147-4.19.48-all-fixes.patch
73 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0148-4.19.49-all-fixes.patch
74 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0149-4.19.50-all-fixes.patch
75 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0150-4.19.51-all-fixes.patch
76 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0151-4.19.52-all-fixes.patch
77 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0152-4.19.53-all-fixes.patch
78 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0153-4.19.54-all-fixes.patch
79 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0154-4.19.55-all-fixes.patch
80 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0155-4.19.56-all-fixes.patch
81 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0156-4.19.57-all-fixes.patch
82 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0157-4.19.58-all-fixes.patch
83 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0158-4.19.59-all-fixes.patch
84 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0159-4.19.60-all-fixes.patch
85 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0160-4.19.61-all-fixes.patch
86 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0161-4.19.62-all-fixes.patch
87 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0162-4.19.63-all-fixes.patch
88 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0163-4.19.64-all-fixes.patch
89 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0164-4.19.65-all-fixes.patch
90 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0165-4.19.66-all-fixes.patch
91 )
92
93 # stable-tree
94 #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
95 # longterm tree
96 UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
97
98 kernel_apply_patches()
99 {
100 cd ${SRCDIR}
101
102 # 100-150 - official updates
103 mpatch 0100-4.19.1-all-fixes.patch || die
104 mpatch 0101-4.19.2-all-fixes.patch || die
105 mpatch 0102-4.19.3-all-fixes.patch || die
106 mpatch 0103-4.19.4-all-fixes.patch || die
107 mpatch 0104-4.19.5-all-fixes.patch || die
108 mpatch 0105-4.19.6-all-fixes.patch || die
109 mpatch 0106-4.19.7-all-fixes.patch || die
110 mpatch 0107-4.19.8-all-fixes.patch || die
111 mpatch 0108-4.19.9-all-fixes.patch || die
112 mpatch 0109-4.19.10-all-fixes.patch || die
113 mpatch 0110-4.19.11-all-fixes.patch || die
114 mpatch 0111-4.19.12-all-fixes.patch || die
115 mpatch 0112-4.19.13-all-fixes.patch || die
116 mpatch 0113-4.19.14-all-fixes.patch || die
117 mpatch 0114-4.19.15-all-fixes.patch || die
118 mpatch 0115-4.19.16-all-fixes.patch || die
119 mpatch 0116-4.19.17-all-fixes.patch || die
120 mpatch 0117-4.19.18-all-fixes.patch || die
121 mpatch 0118-4.19.19-all-fixes.patch || die
122 mpatch 0119-4.19.20-all-fixes.patch || die
123 mpatch 0120-4.19.21-all-fixes.patch || die
124 mpatch 0121-4.19.22-all-fixes.patch || die
125 mpatch 0122-4.19.23-all-fixes.patch || die
126 mpatch 0123-4.19.24-all-fixes.patch || die
127 mpatch 0124-4.19.25-all-fixes.patch || die
128 mpatch 0125-4.19.26-all-fixes.patch || die
129 mpatch 0126-4.19.27-all-fixes.patch || die
130 mpatch 0127-4.19.28-all-fixes.patch || die
131 mpatch 0128-4.19.29-all-fixes.patch || die
132 mpatch 0129-4.19.30-all-fixes.patch || die
133 mpatch 0130-4.19.31-all-fixes.patch || die
134 mpatch 0131-4.19.32-all-fixes.patch || die
135 mpatch 0132-4.19.33-all-fixes.patch || die
136 mpatch 0133-4.19.34-all-fixes.patch || die
137 mpatch 0134-4.19.35-all-fixes.patch || die
138 mpatch 0135-4.19.36-all-fixes.patch || die
139 mpatch 0136-4.19.37-all-fixes.patch || die
140 mpatch 0137-4.19.38-all-fixes.patch || die
141 mpatch 0138-4.19.39-all-fixes.patch || die
142 mpatch 0139-4.19.40-all-fixes.patch || die
143 mpatch 0140-4.19.41-all-fixes.patch || die
144 mpatch 0141-4.19.42-all-fixes.patch || die
145 mpatch 0142-4.19.43-all-fixes.patch || die
146 mpatch 0143-4.19.44-all-fixes.patch || die
147 mpatch 0144-4.19.45-all-fixes.patch || die
148 mpatch 0145-4.19.46-all-fixes.patch || die
149 mpatch 0146-4.19.47-all-fixes.patch || die
150 mpatch 0147-4.19.48-all-fixes.patch || die
151 mpatch 0148-4.19.49-all-fixes.patch || die
152 mpatch 0149-4.19.50-all-fixes.patch || die
153 mpatch 0150-4.19.51-all-fixes.patch || die
154 mpatch 0151-4.19.52-all-fixes.patch || die
155 mpatch 0152-4.19.53-all-fixes.patch || die
156 mpatch 0153-4.19.54-all-fixes.patch || die
157 mpatch 0154-4.19.55-all-fixes.patch || die
158 mpatch 0155-4.19.56-all-fixes.patch || die
159 mpatch 0156-4.19.57-all-fixes.patch || die
160 mpatch 0157-4.19.58-all-fixes.patch || die
161 mpatch 0158-4.19.59-all-fixes.patch || die
162 mpatch 0159-4.19.60-all-fixes.patch || die
163 mpatch 0160-4.19.61-all-fixes.patch || die
164 mpatch 0161-4.19.62-all-fixes.patch || die
165 mpatch 0162-4.19.63-all-fixes.patch || die
166 mpatch 0163-4.19.64-all-fixes.patch || die
167 mpatch 0164-4.19.65-all-fixes.patch || die
168 mpatch 0165-4.19.66-all-fixes.patch || die
169 }
170
171 src_install()
172 {
173 kernel_src_install
174
175 # use always drm headers from libdrm
176 mdelete -r /usr/include/drm || die
177 }