Magellan Linux

Contents of /smage/trunk/core/kernel-sources-alx/kernel-sources-alx-3.8.4-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4706 - (show annotations) (download)
Wed Mar 27 14:48:50 2013 UTC (11 years, 2 months ago) by niro
File size: 1584 byte(s)
auto added: ver bump to 3.8.4-r2
1 # $Id$
2
3 # base alx kernel:
4 # using linux-3.8.4
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.4${PSUBVER}"
18 PBUILD="r2"
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 )
43
44 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
45
46 src_prepare()
47 {
48 kernel_src_prepare || die
49
50 # 001-100 - ck patches
51 # 100-150 - official updates
52 mpatch 0100-3.8.1-all-fixes.patch || die
53 mpatch 0101-3.8.2-all-fixes.patch || die
54 mpatch 0102-3.8.3-all-fixes.patch || die
55 mpatch 0103-3.8.4-all-fixes.patch || die
56 # 150-300 - magellan patches, driver updates etc
57 # 300-400 - compilations fixes and other
58 }