Magellan Linux

Contents of /branches/R11-stable/core/linux-libc-headers/linux-libc-headers-3.10.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 19259 - (show annotations) (download)
Tue Sep 3 14:44:40 2013 UTC (10 years, 7 months ago) by niro
File size: 1533 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="linux-libc-headers"
4 PVER="3.10.6"
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-3.10.1-all-fixes.patch
26 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.10.2-all-fixes.patch
27 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.10.3-all-fixes.patch
28 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.10.4-all-fixes.patch
29 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.10.5-all-fixes.patch
30 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.10.6-all-fixes.patch
31 )
32
33 UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p' | cut -d. -f1-3"
34
35 kernel_apply_patches()
36 {
37 cd ${SRCDIR}
38
39 # 100-150 - official updates
40 mpatch 0100-3.10.1-all-fixes.patch || die
41 mpatch 0101-3.10.2-all-fixes.patch || die
42 mpatch 0102-3.10.3-all-fixes.patch || die
43 mpatch 0103-3.10.4-all-fixes.patch || die
44 mpatch 0104-3.10.5-all-fixes.patch || die
45 mpatch 0105-3.10.6-all-fixes.patch || die
46 }