/[smage]/branches/magellan-next/core/kernel-sources-magellan/kernel-sources-magellan-3.1.8-r1.smage2 |
Contents of /branches/magellan-next/core/kernel-sources-magellan/kernel-sources-magellan-3.1.8-r1.smage2
Parent Directory | Revision Log
Revision 9829 -
(show annotations)
(download)
Thu Jan 12 12:17:47 2012 UTC (12 years, 5 months ago) by niro
File size: 2648 byte(s)
Thu Jan 12 12:17:47 2012 UTC (12 years, 5 months ago) by niro
File size: 2648 byte(s)
auto added: ver bump to 3.1.8-r1
1 | # $Id$ |
2 | |
3 | # standard magellan kernel: |
4 | # using linux-3.1.8 |
5 | # using aufs3-3.1_20111114 (http://aufs.sourceforge.net/) |
6 | # dropped fbcondecor patches in favor of plymouth |
7 | # dropped unionfs in favor of aufs |
8 | # enabled staging usbip drivers |
9 | # enabled staging nouveau driver |
10 | # enabled staging ms hyper-v drivers |
11 | # enabeld staging vmware drm driver |
12 | # do not set UEVENT_HELPER to "/sbin/hotplug" anymore but to "" as descripted in udev-176 README |
13 | # really enabled aufs |
14 | |
15 | # what type are we building (sources, image or headers) ? |
16 | KERNEL_TYPE="sources" |
17 | |
18 | # which branch we're using |
19 | BRANCH="magellan" |
20 | |
21 | PNAME="kernel-sources-${BRANCH}" |
22 | |
23 | # 2.6.x.x subver style |
24 | PSUBVER="" |
25 | |
26 | PVER="3.1.8${PSUBVER}" |
27 | PBUILD="r1" |
28 | |
29 | # set the right tarball version |
30 | TARBALLPVER="${PVER%.*}" |
31 | |
32 | # include global kernel functions |
33 | sminclude kernel |
34 | |
35 | # --- extra drivers included in this kernel: --- |
36 | # we do not bundle ati-drivers and nvidia-glx drivers anymore |
37 | # use our new module builders! |
38 | # --- eot extra drivers --- |
39 | |
40 | # no need to waste time here |
41 | msetfeature "!strip" |
42 | |
43 | SRC_URI=( |
44 | http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE} |
45 | mirror://kernel-${BRANCH}/${SRCFILE} |
46 | mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686 |
47 | mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 |
48 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.1.1-all-fixes.patch |
49 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.1.2-all-fixes.patch |
50 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.1.3-all-fixes.patch |
51 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.1.4-all-fixes.patch |
52 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.1.5-all-fixes.patch |
53 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.1.6-all-fixes.patch |
54 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.1.7-all-fixes.patch |
55 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.1.8-all-fixes.patch |
56 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0150-3.1_20111114-aufs3.patch |
57 | ) |
58 | |
59 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" |
60 | |
61 | src_prepare() |
62 | { |
63 | kernel_src_prepare || die |
64 | |
65 | # 001-100 - ck patches |
66 | # 100-150 - official updates |
67 | mpatch 0100-3.1.1-all-fixes.patch || die |
68 | mpatch 0101-3.1.2-all-fixes.patch || die |
69 | mpatch 0102-3.1.3-all-fixes.patch || die |
70 | mpatch 0103-3.1.4-all-fixes.patch || die |
71 | mpatch 0104-3.1.5-all-fixes.patch || die |
72 | mpatch 0105-3.1.6-all-fixes.patch || die |
73 | mpatch 0106-3.1.7-all-fixes.patch || die |
74 | mpatch 0107-3.1.8-all-fixes.patch || die |
75 | # 150-300 - magellan patches, driver updates etc |
76 | mpatch 0150-3.1_20111114-aufs3.patch || die |
77 | # 300-400 - compilations fixes and other |
78 | } |