Magellan Linux

Annotation of /smage/branches/alx07x-unstable/core/linux-libc-headers/linux-libc-headers-3.18.18-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6466 - (hide annotations) (download)
Mon Jul 13 08:50:54 2015 UTC (8 years, 10 months ago) by niro
Original Path: smage/trunk/core/linux-libc-headers/linux-libc-headers-3.18.18-r1.smage2
File size: 3084 byte(s)
auto added: ver bump to 3.18.18-r1
1 niro 6465 # $Id$
2    
3     PNAME="linux-libc-headers"
4     PVER="3.18.18"
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-3.18.1-all-fixes.patch
26     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.18.2-all-fixes.patch
27     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.18.3-all-fixes.patch
28     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.18.4-all-fixes.patch
29     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.18.5-all-fixes.patch
30     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.18.6-all-fixes.patch
31     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.18.7-all-fixes.patch
32     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.18.8-all-fixes.patch
33     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.18.9-all-fixes.patch
34     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-3.18.10-all-fixes.patch
35     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-3.18.11-all-fixes.patch
36     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-3.18.12-all-fixes.patch
37     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-3.18.13-all-fixes.patch
38     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-3.18.14-all-fixes.patch
39     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-3.18.15-all-fixes.patch
40     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-3.18.16-all-fixes.patch
41     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-3.18.17-all-fixes.patch
42     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-3.18.18-all-fixes.patch
43     )
44    
45     # stable-tree
46     #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
47     # longterm tree
48     UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
49    
50     kernel_apply_patches()
51     {
52     cd ${SRCDIR}
53    
54     # 100-150 - official updates
55     mpatch 0100-3.18.1-all-fixes.patch || die
56     mpatch 0101-3.18.2-all-fixes.patch || die
57     mpatch 0102-3.18.3-all-fixes.patch || die
58     mpatch 0103-3.18.4-all-fixes.patch || die
59     mpatch 0104-3.18.5-all-fixes.patch || die
60     mpatch 0105-3.18.6-all-fixes.patch || die
61     mpatch 0106-3.18.7-all-fixes.patch || die
62     mpatch 0107-3.18.8-all-fixes.patch || die
63     mpatch 0108-3.18.9-all-fixes.patch || die
64     mpatch 0109-3.18.10-all-fixes.patch || die
65     mpatch 0110-3.18.11-all-fixes.patch || die
66     mpatch 0111-3.18.12-all-fixes.patch || die
67     mpatch 0112-3.18.13-all-fixes.patch || die
68     mpatch 0113-3.18.14-all-fixes.patch || die
69     mpatch 0114-3.18.15-all-fixes.patch || die
70     mpatch 0115-3.18.16-all-fixes.patch || die
71     mpatch 0116-3.18.17-all-fixes.patch || die
72     mpatch 0117-3.18.18-all-fixes.patch || die
73     }