Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4029 - (show annotations) (download)
Mon Nov 5 13:40:55 2012 UTC (11 years, 6 months ago) by niro
File size: 1320 byte(s)
auto added: ver bump to 3.6.6-r1
1 # $Id$
2
3 PNAME="linux-libc-headers"
4 PVER="3.6.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 -> libc -> binutils -> gcc -> libc
10
11 # no need to waste time here
12 msetfeature "!strip"
13
14 KERNEL_TYPE="headers"
15 BRANCH="magellan"
16 TARBALLPVER="${PVER%.*}"
17 sminclude kernel
18
19 SRC_URI=( ${SRC_URI[*]}
20 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.6.1-all-fixes.patch
21 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.6.2-all-fixes.patch
22 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.6.3-all-fixes.patch
23 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.6.4-all-fixes.patch
24 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.6.5-all-fixes.patch
25 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.6.6-all-fixes.patch
26 )
27
28 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p' | cut -d. -f1-3"
29
30 src_prepare()
31 {
32 kernel_src_prepare || die
33
34 # 100-150 - official updates
35 mpatch 0100-3.6.1-all-fixes.patch || die
36 mpatch 0101-3.6.2-all-fixes.patch || die
37 mpatch 0102-3.6.3-all-fixes.patch || die
38 mpatch 0103-3.6.4-all-fixes.patch || die
39 mpatch 0104-3.6.5-all-fixes.patch || die
40 mpatch 0105-3.6.6-all-fixes.patch || die
41 }