Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3562 - (show annotations) (download)
Mon Jul 9 11:04:58 2012 UTC (11 years, 9 months ago) by niro
File size: 3095 byte(s)
auto added: ver bump to 2.6.37-r3
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
13 # what type are we building (sources or image) ?
14 KERNEL_TYPE="sources"
15
16 # which branch we're using
17 BRANCH="alx"
18
19 PNAME="kernel26-sources-${BRANCH}"
20
21 # 2.6.x.x subver style
22 PSUBVER=""
23
24 PVER="2.6.37${PSUBVER}"
25 PBUILD="r3"
26
27 PCATEGORIE="sys-kernel"
28
29 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
30 HOMEPAGE="http://magellan-linux.net"
31
32 DEPEND=""
33
34 PROVIDE="virtual/kernel-sources"
35
36 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
37 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
38
39 # include global kernel26 functions
40 REMOVE_DEPRECATED_MAGE_TARGETS=1
41 sminclude kernel26 alx
42
43 # --- extra drivers included in this kernel: ---
44 # we do not bundle ati-drivers and nvidia-glx drivers anymore
45 # use our new module builders!
46 # --- eot extra drivers ---
47
48 # no need to waste time here
49 NOSTRIP=true
50
51 SRC_URI=(
52 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
53 mirror://kernel26-${BRANCH}/${SRCFILE}
54 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
55 "mirror://kernel26-${BRANCH}/patches-${PVER}/0100-2.6.37.1-all-fixes.patch patches-${PVER}"
56 "mirror://kernel26-${BRANCH}/patches-${PVER}/0101-2.6.37.2-all-fixes.patch patches-${PVER}"
57 "mirror://kernel26-${BRANCH}/patches-${PVER}/0102-2.6.37.3-all-fixes.patch patches-${PVER}"
58 "mirror://kernel26-${BRANCH}/patches-${PVER}/0103-2.6.37.4-all-fixes.patch patches-${PVER}"
59 "mirror://kernel26-${BRANCH}/patches-${PVER}/0104-2.6.37.5-all-fixes.patch patches-${PVER}"
60 "mirror://kernel26-${BRANCH}/patches-${PVER}/0105-2.6.37.6-all-fixes.patch patches-${PVER}"
61 "mirror://kernel26-${BRANCH}/patches-${PVER}/0150-2.6.37-fbcondecor-0.9.6.patch patches-${PVER}"
62 "mirror://kernel26-${BRANCH}/patches-${PVER}/0153-2.6.37-unionfs-2.5.7.patch patches-${PVER}"
63 )
64
65 UP2PVER="${PVER}.6"
66 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
67
68 src_prepare()
69 {
70 kernel26_src_prepare || die
71
72 # 001-100 - ck patches (deprecated atm)
73 # 100-150 - official updates
74 mpatch patches-${PVER}/0100-2.6.37.1-all-fixes.patch || die
75 mpatch patches-${PVER}/0101-2.6.37.2-all-fixes.patch || die
76 mpatch patches-${PVER}/0102-2.6.37.3-all-fixes.patch || die
77 mpatch patches-${PVER}/0103-2.6.37.4-all-fixes.patch || die
78 mpatch patches-${PVER}/0104-2.6.37.5-all-fixes.patch || die
79 mpatch patches-${PVER}/0105-2.6.37.6-all-fixes.patch || die
80 # 150-300 - magellan patches, driver updates etc
81 mpatch patches-${PVER}/0150-2.6.37-fbcondecor-0.9.6.patch || die
82 mpatch patches-${PVER}/0153-2.6.37-unionfs-2.5.7.patch || die
83 # 300-400 - compilations fixes and other
84 }
85
86 postinstall()
87 {
88 kernel26_sources_postinstall
89 alx_postinstall
90 }