Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3198 - (show annotations) (download)
Wed Sep 14 09:51:26 2011 UTC (12 years, 8 months ago) by niro
File size: 2967 byte(s)
auto added: ver bump to 3.0-r1
1 # $Id$
2
3 # base alx kernel:
4 # using linux-3.0.4
5 # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6 # using unionfs-2.5.9.2 (http://www.filesystems.org/project-unionfs.html)
7 # enabled cgroups support
8 # enabled devtmpfs automount
9 # dropped deprecated ata support, rely on pata/sata
10 # enabled verbose ata error reporting
11 # removed deprecated Intersil Prism GT/Duette/Indigo PCI/Cardbus driver in favor of the softmac driver
12 # enabled usbip staging drivers
13
14 # what type are we building (sources or image) ?
15 KERNEL_TYPE="sources"
16
17 # which branch we're using
18 BRANCH="alx"
19
20 PNAME="kernel-sources-${BRANCH}"
21
22 PVER="3.0"
23 PBUILD="r1"
24
25 PCATEGORIE="sys-kernel"
26
27 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
28 HOMEPAGE="http://magellan-linux.net"
29
30 DEPEND=""
31
32 PROVIDE="virtual/kernel-sources"
33
34 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
35 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
36
37 # include global kernel functions
38 sminclude kernel alx
39
40 # --- extra drivers included in this kernel: ---
41 # we do not bundle ati-drivers and nvidia-glx drivers anymore
42 # use our new module builders!
43 # --- eot extra drivers ---
44
45 # no need to waste time here
46 NOSTRIP=true
47
48 SRC_URI=(
49 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE}
50 http://ftp.uni-erlangen.de/pub/Linux/MIRROR.kernel/v$(echo ${PVER} | cut -d. -f1-2)/${SRCFILE}
51 mirror://kernel-${BRANCH}/${SRCFILE}
52 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
53 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0100-3.0.1-all-fixes.patch patches-${PVER}-${PBUILD}"
54 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0101-3.0.2-all-fixes.patch patches-${PVER}-${PBUILD}"
55 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0102-3.0.3-all-fixes.patch patches-${PVER}-${PBUILD}"
56 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0103-3.0.4-all-fixes.patch patches-${PVER}-${PBUILD}"
57 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0150-3.0-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
58 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0153-3.0-unionfs-2.5.9.2.patch patches-${PVER}-${PBUILD}"
59 )
60
61 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
62
63 src_prepare()
64 {
65 kernel_src_prepare || die
66
67 # 001-100 - ck patches (deprecated atm)
68 # 100-150 - official updates
69 mpatch patches-${PVER}-${PBUILD}/0100-3.0.1-all-fixes.patch || die
70 mpatch patches-${PVER}-${PBUILD}/0101-3.0.2-all-fixes.patch || die
71 mpatch patches-${PVER}-${PBUILD}/0102-3.0.3-all-fixes.patch || die
72 mpatch patches-${PVER}-${PBUILD}/0103-3.0.4-all-fixes.patch || die
73 # 150-300 - magellan patches, driver updates etc
74 mpatch patches-${PVER}-${PBUILD}/0150-3.0-fbcondecor-0.9.6.patch || die
75 mpatch patches-${PVER}-${PBUILD}/0153-3.0-unionfs-2.5.9.2.patch || die
76 # 300-400 - compilations fixes and other
77 }
78
79 postinstall()
80 {
81 kernel_sources_postinstall
82 alx_postinstall
83 }