Magellan Linux

Contents of /smage/branches/alx-0_6_0/core/kernel26-sources-alx/kernel26-sources-alx-2.6.37-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4893 - (show annotations) (download)
Tue May 28 13:26:49 2013 UTC (10 years, 11 months ago) by niro
File size: 3198 byte(s)
-rev bump to 2.6.37-r4, enabled modules to support Philips SpeechMike II/III
1 # $Id$
2
3 # base alx kernel:
4 # using linux-2.6.37.6
5 # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6 # using unionfs-2.5.7 (http://www.filesystems.org/project-unionfs.html)
7 # enabled support for large block devices to be able to mount ext4 filesystems
8 # enabled usbserial device drivers
9 # enabled nouveau drm driver (staging)
10 # enabled usbip drivers (staging)
11 # enabled x86 platform drivers and notebook extras
12 # enabled usb-audio for Philips SpeechMike III
13 # enabled joystick-interface for Philips SpeechMike III
14
15 # what type are we building (sources or image) ?
16 KERNEL_TYPE="sources"
17
18 # which branch we're using
19 BRANCH="alx"
20
21 PNAME="kernel26-sources-${BRANCH}"
22
23 # 2.6.x.x subver style
24 PSUBVER=""
25
26 PVER="2.6.37${PSUBVER}"
27 PBUILD="r4"
28
29 PCATEGORIE="sys-kernel"
30
31 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
32 HOMEPAGE="http://magellan-linux.net"
33
34 DEPEND=""
35
36 PROVIDE="virtual/kernel-sources"
37
38 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
39 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
40
41 # include global kernel26 functions
42 REMOVE_DEPRECATED_MAGE_TARGETS=1
43 sminclude kernel26 alx
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 # no need to waste time here
51 NOSTRIP=true
52
53 SRC_URI=(
54 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
55 mirror://kernel26-${BRANCH}/${SRCFILE}
56 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
57 "mirror://kernel26-${BRANCH}/patches-${PVER}/0100-2.6.37.1-all-fixes.patch patches-${PVER}"
58 "mirror://kernel26-${BRANCH}/patches-${PVER}/0101-2.6.37.2-all-fixes.patch patches-${PVER}"
59 "mirror://kernel26-${BRANCH}/patches-${PVER}/0102-2.6.37.3-all-fixes.patch patches-${PVER}"
60 "mirror://kernel26-${BRANCH}/patches-${PVER}/0103-2.6.37.4-all-fixes.patch patches-${PVER}"
61 "mirror://kernel26-${BRANCH}/patches-${PVER}/0104-2.6.37.5-all-fixes.patch patches-${PVER}"
62 "mirror://kernel26-${BRANCH}/patches-${PVER}/0105-2.6.37.6-all-fixes.patch patches-${PVER}"
63 "mirror://kernel26-${BRANCH}/patches-${PVER}/0150-2.6.37-fbcondecor-0.9.6.patch patches-${PVER}"
64 "mirror://kernel26-${BRANCH}/patches-${PVER}/0153-2.6.37-unionfs-2.5.7.patch patches-${PVER}"
65 )
66
67 UP2PVER="${PVER}.6"
68 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
69
70 src_prepare()
71 {
72 kernel26_src_prepare || die
73
74 # 001-100 - ck patches (deprecated atm)
75 # 100-150 - official updates
76 mpatch patches-${PVER}/0100-2.6.37.1-all-fixes.patch || die
77 mpatch patches-${PVER}/0101-2.6.37.2-all-fixes.patch || die
78 mpatch patches-${PVER}/0102-2.6.37.3-all-fixes.patch || die
79 mpatch patches-${PVER}/0103-2.6.37.4-all-fixes.patch || die
80 mpatch patches-${PVER}/0104-2.6.37.5-all-fixes.patch || die
81 mpatch patches-${PVER}/0105-2.6.37.6-all-fixes.patch || die
82 # 150-300 - magellan patches, driver updates etc
83 mpatch patches-${PVER}/0150-2.6.37-fbcondecor-0.9.6.patch || die
84 mpatch patches-${PVER}/0153-2.6.37-unionfs-2.5.7.patch || die
85 # 300-400 - compilations fixes and other
86 }
87
88 postinstall()
89 {
90 kernel26_sources_postinstall
91 alx_postinstall
92 }