Contents of /smage/trunk/core/kernel-sources-alx/kernel-sources-alx-3.4.6-r1.smage2
Parent Directory | Revision Log
Revision 3952 -
(show annotations)
(download)
Tue Jul 24 15:22:23 2012 UTC (11 years, 9 months ago) by niro
File size: 2431 byte(s)
Tue Jul 24 15:22:23 2012 UTC (11 years, 9 months ago) by niro
File size: 2431 byte(s)
-fixed kernel config
1 | # $Id$ |
2 | |
3 | # base alx kernel: |
4 | # using linux-3.4.6 |
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 | |
18 | # what type are we building (sources, image or headers) ? |
19 | KERNEL_TYPE="sources" |
20 | |
21 | # which branch we're using |
22 | BRANCH="alx" |
23 | |
24 | PNAME="kernel-sources-${BRANCH}" |
25 | |
26 | # 2.6.x.x subver style |
27 | PSUBVER="" |
28 | |
29 | PVER="3.4.6${PSUBVER}" |
30 | PBUILD="r1" |
31 | |
32 | # set the right tarball version |
33 | TARBALLPVER="${PVER%.*}" |
34 | |
35 | # include global kernel functions |
36 | sminclude kernel |
37 | |
38 | # --- extra drivers included in this kernel: --- |
39 | # we do not bundle ati-drivers and nvidia-glx drivers anymore |
40 | # use our new module builders! |
41 | # --- eot extra drivers --- |
42 | |
43 | # no need to waste time here |
44 | msetfeature "!strip" |
45 | |
46 | SRC_URI=( |
47 | http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE} |
48 | mirror://kernel-${BRANCH}/${SRCFILE} |
49 | mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486 |
50 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.4.1-all-fixes.patch |
51 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.4.2-all-fixes.patch |
52 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.4.3-all-fixes.patch |
53 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.4.4-all-fixes.patch |
54 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.4.5-all-fixes.patch |
55 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.4.6-all-fixes.patch |
56 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0300-3.4-fix-lpfc-compilation-without-debugfs.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.4.1-all-fixes.patch || die |
68 | mpatch 0101-3.4.2-all-fixes.patch || die |
69 | mpatch 0102-3.4.3-all-fixes.patch || die |
70 | mpatch 0103-3.4.4-all-fixes.patch || die |
71 | mpatch 0104-3.4.5-all-fixes.patch || die |
72 | mpatch 0105-3.4.6-all-fixes.patch || die |
73 | # 150-300 - magellan patches, driver updates etc |
74 | # 300-400 - compilations fixes and other |
75 | mpatch 0300-3.4-fix-lpfc-compilation-without-debugfs.patch || die |
76 | } |