Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 12753 - (show annotations) (download)
Mon Jul 2 14:37:15 2012 UTC (11 years, 10 months ago) by niro
File size: 2342 byte(s)
-marked unstable
1 # $Id$
2
3 # standard magellan kernel:
4 # using linux-3.4.4
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 modules and bzimage
12
13 # what type are we building (sources, image or headers) ?
14 KERNEL_TYPE="image"
15 COMPRESS_MODULES="xz"
16 LINUX_FIRMWARE="20120304"
17
18 BRANCH="magellan"
19
20 PNAME="kernel-${BRANCH}"
21
22 # 2.6.x.x subver style
23 PSUBVER=""
24
25 PVER="3.4.4${PSUBVER}"
26 PBUILD="r1"
27
28 STATE="unstable"
29
30 # set the right tarball version
31 TARBALLPVER="${PVER%.*}"
32
33 DEPEND=">= virtual/module-tools
34 >= sys-fs/udev-185
35 >= virtual/initramfs-tools
36 >= virtual/initscripts"
37 # kernel.sminc adds linux-firmware if requiered!
38
39 PROVIDE="virtual/kernel
40 virtual/alsa-drivers"
41
42 # include global kernel functions
43 sminclude kernel mtools
44
45 # --- extra drivers included in this kernel: ---
46 # we do not bundle ati-drivers and nvidia-glx drivers anymore
47 # use our new module builders!
48 # --- eot extra drivers ---
49
50 SRC_URI=(
51 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
52 mirror://kernel-${BRANCH}/${SRCFILE}
53 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
54 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
55 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.4.1-all-fixes.patch
56 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.4.2-all-fixes.patch
57 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.4.3-all-fixes.patch
58 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.4.4-all-fixes.patch
59 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0300-3.4-fix-lpfc-compilation-without-debugfs.patch
60 )
61
62 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
63
64 src_prepare()
65 {
66 kernel_src_prepare || die
67
68 # 001-100 - ck patches
69 # 100-150 - official updates
70 mpatch 0100-3.4.1-all-fixes.patch || die
71 mpatch 0101-3.4.2-all-fixes.patch || die
72 mpatch 0102-3.4.3-all-fixes.patch || die
73 mpatch 0103-3.4.4-all-fixes.patch || die
74 # 150-300 - magellan patches, driver updates etc
75 # 300-400 - compilations fixes and other
76 mpatch 0300-3.4-fix-lpfc-compilation-without-debugfs.patch || die
77 }