Magellan Linux

Contents of /branches/R11-stable/core/kernel-sources-magellan/kernel-sources-magellan-3.7.10-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16802 - (show annotations) (download)
Thu Mar 7 14:06:29 2013 UTC (11 years, 3 months ago) by niro
File size: 2361 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 # standard magellan kernel:
4 # using linux-3.7.10
5
6 # what type are we building (sources, image or headers) ?
7 KERNEL_TYPE="sources"
8
9 # which branch we're using
10 BRANCH="magellan"
11
12 PNAME="kernel-sources-${BRANCH}"
13
14 # 2.6.x.x subver style
15 PSUBVER=""
16
17 PVER="3.7.10${PSUBVER}"
18 PBUILD="r1"
19
20 # set the right tarball version
21 TARBALLPVER="${PVER%.*}"
22
23 # include global kernel functions
24 sminclude kernel
25
26 # --- extra drivers included in this kernel: ---
27 # we do not bundle ati-drivers and nvidia-glx drivers anymore
28 # use our new module builders!
29 # --- eot extra drivers ---
30
31 # no need to waste time here
32 msetfeature "!strip"
33
34 SRC_URI=(
35 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
36 mirror://kernel-${BRANCH}/${SRCFILE}
37 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
38 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
39 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.7.1-all-fixes.patch
40 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.7.2-all-fixes.patch
41 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.7.3-all-fixes.patch
42 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.7.4-all-fixes.patch
43 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.7.5-all-fixes.patch
44 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.7.6-all-fixes.patch
45 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.7.7-all-fixes.patch
46 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.7.8-all-fixes.patch
47 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.7.9-all-fixes.patch
48 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-3.7.10-all-fixes.patch
49 )
50
51 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
52
53 src_prepare()
54 {
55 kernel_src_prepare || die
56
57 # 001-100 - ck patches
58 # 100-150 - official updates
59 mpatch 0100-3.7.1-all-fixes.patch || die
60 mpatch 0101-3.7.2-all-fixes.patch || die
61 mpatch 0102-3.7.3-all-fixes.patch || die
62 mpatch 0103-3.7.4-all-fixes.patch || die
63 mpatch 0104-3.7.5-all-fixes.patch || die
64 mpatch 0105-3.7.6-all-fixes.patch || die
65 mpatch 0106-3.7.7-all-fixes.patch || die
66 mpatch 0107-3.7.8-all-fixes.patch || die
67 mpatch 0108-3.7.9-all-fixes.patch || die
68 mpatch 0109-3.7.10-all-fixes.patch || die
69 # 150-300 - magellan patches, driver updates etc
70 # 300-400 - compilations fixes and other
71 }