Magellan Linux

Contents of /trunk/core/kernel-magellan/kernel-magellan-3.2.12-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 11738 - (show annotations) (download)
Thu Mar 22 12:51:11 2012 UTC (12 years, 3 months ago) by niro
File size: 3314 byte(s)
auto added: ver bump to 3.2.12-r1
1 # $Id$
2
3 # standard magellan kernel:
4 # using linux-3.2.12
5 # using aufs3-3.2_20120109 (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 # enabled linux-firmware
15
16 # what type are we building (sources, image or headers) ?
17 KERNEL_TYPE="image"
18 COMPRESS_MODULES="gzip"
19 LINUX_FIRMWARE="20120304"
20
21 BRANCH="magellan"
22
23 PNAME="kernel-${BRANCH}"
24
25 # 2.6.x.x subver style
26 PSUBVER=""
27
28 PVER="3.2.12${PSUBVER}"
29 PBUILD="r1"
30
31 # set the right tarball version
32 TARBALLPVER="${PVER%.*}"
33
34 DEPEND=">= virtual/module-tools
35 >= sys-fs/udev-180
36 >= virtual/initramfs-tools
37 >= virtual/initscripts"
38 # kernel.sminc adds linux-firmware if requiered!
39
40 PROVIDE="virtual/kernel
41 virtual/alsa-drivers"
42
43 # include global kernel functions
44 sminclude kernel mtools
45
46 # --- extra drivers included in this kernel: ---
47 # we do not bundle ati-drivers and nvidia-glx drivers anymore
48 # use our new module builders!
49 # --- eot extra drivers ---
50
51 SRC_URI=(
52 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
53 mirror://kernel-${BRANCH}/${SRCFILE}
54 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
55 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
56 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.2.1-all-fixes.patch
57 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.2.2-all-fixes.patch
58 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.2.3-all-fixes.patch
59 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.2.4-all-fixes.patch
60 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.2.5-all-fixes.patch
61 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.2.6-all-fixes.patch
62 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.2.7-all-fixes.patch
63 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.2.8-all-fixes.patch
64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.2.9-all-fixes.patch
65 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-3.2.10-all-fixes.patch
66 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-3.2.11-all-fixes.patch
67 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-3.2.12-all-fixes.patch
68 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0150-3.2_20120109-aufs3.patch
69 )
70
71 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
72
73 src_prepare()
74 {
75 kernel_src_prepare || die
76
77 # 001-100 - ck patches
78 # 100-150 - official updates
79 mpatch 0100-3.2.1-all-fixes.patch || die
80 mpatch 0101-3.2.2-all-fixes.patch || die
81 mpatch 0102-3.2.3-all-fixes.patch || die
82 mpatch 0103-3.2.4-all-fixes.patch || die
83 mpatch 0104-3.2.5-all-fixes.patch || die
84 mpatch 0105-3.2.6-all-fixes.patch || die
85 mpatch 0106-3.2.7-all-fixes.patch || die
86 mpatch 0107-3.2.8-all-fixes.patch || die
87 mpatch 0108-3.2.9-all-fixes.patch || die
88 mpatch 0109-3.2.10-all-fixes.patch || die
89 mpatch 0110-3.2.11-all-fixes.patch || die
90 mpatch 0111-3.2.12-all-fixes.patch || die
91 # 150-300 - magellan patches, driver updates etc
92 mpatch 0150-3.2_20120109-aufs3.patch || die
93 # 300-400 - compilations fixes and other
94 }