Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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