Magellan Linux

Annotation of /branches/R11-stable/core/kernel-sources-magellan/kernel-sources-magellan-3.9.6-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 17770 - (hide annotations) (download)
Wed Jun 26 12:28:31 2013 UTC (11 years ago) by niro
File size: 1887 byte(s)
-release branches/R11-stable
1 niro 17446 # $Id$
2    
3     # standard magellan kernel:
4     # using linux-3.9.6
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.9.6"
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.9.1-all-fixes.patch
40     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.9.2-all-fixes.patch
41     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.9.3-all-fixes.patch
42     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.9.4-all-fixes.patch
43     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.9.5-all-fixes.patch
44     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.9.6-all-fixes.patch
45     )
46    
47     UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
48    
49     src_prepare()
50     {
51     kernel_src_prepare || die
52    
53     # 001-100 - ck patches
54     # 100-150 - official updates
55     mpatch 0100-3.9.1-all-fixes.patch || die
56     mpatch 0101-3.9.2-all-fixes.patch || die
57     mpatch 0102-3.9.3-all-fixes.patch || die
58     mpatch 0103-3.9.4-all-fixes.patch || die
59     mpatch 0104-3.9.5-all-fixes.patch || die
60     mpatch 0105-3.9.6-all-fixes.patch || die
61     # 150-300 - magellan patches, driver updates etc
62     # 300-400 - compilations fixes and other
63     }