Magellan Linux

Contents of /smage/trunk/core/kernel26-sources-mcore/kernel26-sources-mcore-2.6.33-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389 - (show annotations) (download)
Thu May 6 12:45:50 2010 UTC (13 years, 11 months ago) by niro
File size: 3492 byte(s)
auto added: ver bump to 2.6.33-r2
1 # $Id$
2
3 # based on the standard magellan kernel (2.6.33-magellan-r1):
4 # using linux-2.6.33.3
5 # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6 # using unionfs-2.5.4 (http://www.filesystems.org/project-unionfs.html)
7 # using tuxonice-3.1 (suspend2) (http://www.suspend2.net/)
8 # -> disabled tuxonice-cluster modules; seems to be broken
9 # using reiser4 (http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/)
10 # -> using mm-patch from http://www.kernel.org/pub/linux/kernel/people/edward/reiser4/reiser4-for-2.6/
11 # build uvesafb as module from now on and don't include it in bzimage anymore
12
13 # what type are we building (sources or image) ?
14 KERNEL_TYPE="sources"
15
16 # which branch we're using
17 BRANCH="mcore"
18
19 PNAME="kernel26-sources-${BRANCH}"
20
21 # 2.6.x.x subver style
22 PSUBVER=""
23
24 PVER="2.6.33${PSUBVER}"
25 PBUILD="r2"
26
27 PCATEGORIE="sys-kernel"
28 STATE="unstable"
29
30 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
31 HOMEPAGE="http://magellan-linux.net"
32
33 DEPEND=""
34
35 PROVIDE="virtual/kernel-sources"
36
37 # we are providing a realpkg from now on !
38 # note: for srcinstall only ! no package exists
39 #PKGTYPE="sources"
40
41 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
42 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
43
44 # include global kernel26 functions
45 sminclude kernel26
46
47 # --- extra drivers included in this kernel: ---
48 # we do not bundle ati-drivers and nvidia-glx drivers anymore
49 # use our new module builders!
50 # --- eot extra drivers ---
51
52 # we are providing a realpkg from now on !
53 # note2: we prevent to build a package here (smage2)
54 #NOPKGBUILD=true
55
56 # no need to waste time here
57 NOSTRIP=true
58
59 SRC_URI=(
60 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
61 mirror://kernel26-${BRANCH}/${SRCFILE}
62 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
63 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0100-2.6.33.1-all-fixes.patch patches-${PVER}-${PBUILD}"
64 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0101-2.6.33.2-all-fixes.patch patches-${PVER}-${PBUILD}"
65 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0102-2.6.33.3-all-fixes.patch patches-${PVER}-${PBUILD}"
66 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.33-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
67 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.33-unionfs-2.5.4.patch patches-${PVER}-${PBUILD}"
68 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0154-2.6.33-tuxonice-3.1.patch patches-${PVER}-${PBUILD}"
69 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0159-2.6.33-reiser4-8.patch patches-${PVER}-${PBUILD}"
70 )
71
72 UP2PVER="${PVER}.3"
73 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
74
75 src_prepare()
76 {
77 kernel26_src_prepare || die
78
79 # 001-100 - ck patches (deprecated atm)
80 # 100-150 - official updates
81 mpatch patches-${PVER}-${PBUILD}/0100-2.6.33.1-all-fixes.patch || die
82 mpatch patches-${PVER}-${PBUILD}/0101-2.6.33.2-all-fixes.patch || die
83 mpatch patches-${PVER}-${PBUILD}/0102-2.6.33.3-all-fixes.patch || die
84 # 150-300 - magellan patches, driver updates etc
85 mpatch patches-${PVER}-${PBUILD}/0150-2.6.33-fbcondecor-0.9.6.patch || die
86 mpatch patches-${PVER}-${PBUILD}/0153-2.6.33-unionfs-2.5.4.patch || die
87 mpatch patches-${PVER}-${PBUILD}/0154-2.6.33-tuxonice-3.1.patch || die
88 mpatch patches-${PVER}-${PBUILD}/0159-2.6.33-reiser4-8.patch || die
89 # 300-400 - compilations fixes and other
90 }

Properties

Name Value
svn:keywords Id