Magellan Linux

Contents of /trunk/extras/kernel-lts/kernel-lts-3.4.15-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 13852 - (show annotations) (download)
Fri Oct 26 08:40:02 2012 UTC (11 years, 7 months ago) by niro
File size: 3615 byte(s)
auto added: ver bump to 3.4.15-r1
1 # $Id$
2
3 # standard LTS kernel:
4 # using linux-3.4.15
5 # enabled staging usbip drivers
6 # enabled staging nouveau driver
7 # enabled staging ms hyper-v drivers
8 # enabeld staging vmware drm driver
9 # do not set UEVENT_HELPER to "/sbin/hotplug" anymore but to "" as descripted in udev-176 README
10 # enabled linux-firmware
11 # use xz as default compression mode for bzimage
12
13 # what type are we building (sources, image or headers) ?
14 KERNEL_TYPE="image"
15 COMPRESS_MODULES="gzip"
16 LINUX_FIRMWARE="20120304"
17
18 BRANCH="lts"
19
20 PNAME="kernel-${BRANCH}"
21
22 # 2.6.x.x subver style
23 PSUBVER=""
24
25 PVER="3.4.15${PSUBVER}"
26 PBUILD="r1"
27
28 # set the right tarball version
29 # set the right tarball version
30 TARBALLPVER="${PVER%.*}"
31
32 DEPEND=">= virtual/module-tools
33 >= sys-fs/udev-185
34 >= virtual/initramfs-tools
35 >= virtual/initscripts"
36 # kernel.sminc adds linux-firmware if requiered!
37
38 PROVIDE="virtual/kernel
39 virtual/alsa-drivers"
40
41 # include global kernel functions
42 sminclude kernel mtools
43
44 # --- extra drivers included in this kernel: ---
45 # we do not bundle ati-drivers and nvidia-glx drivers anymore
46 # use our new module builders!
47 # --- eot extra drivers ---
48
49 SRC_URI=(
50 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
51 mirror://kernel-${BRANCH}/${SRCFILE}
52 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
53 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
54 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.4.1-all-fixes.patch
55 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.4.2-all-fixes.patch
56 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.4.3-all-fixes.patch
57 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.4.4-all-fixes.patch
58 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.4.5-all-fixes.patch
59 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.4.6-all-fixes.patch
60 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.4.7-all-fixes.patch
61 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.4.8-all-fixes.patch
62 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.4.9-all-fixes.patch
63 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-3.4.10-all-fixes.patch
64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-3.4.11-all-fixes.patch
65 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-3.4.12-all-fixes.patch
66 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-3.4.13-all-fixes.patch
67 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-3.4.14-all-fixes.patch
68 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-3.4.15-all-fixes.patch
69 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0300-3.4-fix-lpfc-compilation-without-debugfs.patch
70 )
71
72 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
73
74 src_prepare()
75 {
76 kernel_src_prepare || die
77
78 # 001-100 - ck patches
79 # 100-150 - official updates
80 mpatch 0100-3.4.1-all-fixes.patch || die
81 mpatch 0101-3.4.2-all-fixes.patch || die
82 mpatch 0102-3.4.3-all-fixes.patch || die
83 mpatch 0103-3.4.4-all-fixes.patch || die
84 mpatch 0104-3.4.5-all-fixes.patch || die
85 mpatch 0105-3.4.6-all-fixes.patch || die
86 mpatch 0106-3.4.7-all-fixes.patch || die
87 mpatch 0107-3.4.8-all-fixes.patch || die
88 mpatch 0108-3.4.9-all-fixes.patch || die
89 mpatch 0109-3.4.10-all-fixes.patch || die
90 mpatch 0110-3.4.11-all-fixes.patch || die
91 mpatch 0111-3.4.12-all-fixes.patch || die
92 mpatch 0112-3.4.13-all-fixes.patch || die
93 mpatch 0113-3.4.14-all-fixes.patch || die
94 mpatch 0114-3.4.15-all-fixes.patch || die
95 # 150-300 - magellan patches, driver updates etc
96 # 300-400 - compilations fixes and other
97 mpatch 0300-3.4-fix-lpfc-compilation-without-debugfs.patch || die
98 }