Magellan Linux

Contents of /smage/trunk/core/kernel-sources-alx/kernel-sources-alx-3.8.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4769 - (show annotations) (download)
Tue Apr 16 07:23:29 2013 UTC (11 years, 2 months ago) by niro
File size: 1929 byte(s)
auto added: ver bump to 3.8.7-r1
1 # $Id$
2
3 # base alx kernel:
4 # using linux-3.8.7
5
6 # what type are we building (sources, image or headers) ?
7 KERNEL_TYPE="sources"
8
9 # which branch we're using
10 BRANCH="alx"
11
12 PNAME="kernel-sources-${BRANCH}"
13
14 # 2.6.x.x subver style
15 PSUBVER=""
16
17 PVER="3.8.7${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}-i486
38 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.8.1-all-fixes.patch
39 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.8.2-all-fixes.patch
40 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.8.3-all-fixes.patch
41 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.8.4-all-fixes.patch
42 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.8.5-all-fixes.patch
43 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.8.6-all-fixes.patch
44 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.8.7-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.8.1-all-fixes.patch || die
56 mpatch 0101-3.8.2-all-fixes.patch || die
57 mpatch 0102-3.8.3-all-fixes.patch || die
58 mpatch 0103-3.8.4-all-fixes.patch || die
59 mpatch 0104-3.8.5-all-fixes.patch || die
60 mpatch 0105-3.8.6-all-fixes.patch || die
61 mpatch 0106-3.8.7-all-fixes.patch || die
62 # 150-300 - magellan patches, driver updates etc
63 # 300-400 - compilations fixes and other
64 }