Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 864 - (show annotations) (download)
Sat Dec 4 13:34:39 2010 UTC (13 years, 4 months ago) by niro
File size: 2484 byte(s)
auto added: ver bump to 2.6.36-r2
1 # $Id: kernel26-sources-mcore-2.6.33-r2.smage2 389 2010-05-06 12:45:50Z niro $
2
3 # based on the standard magellan kernel (2.6.33-magellan-r1):
4 # using linux-2.6.36.1
5 # using fbcondecor-0.9.6 (http://dev.gentoo.org/~spock/projects/fbcondecor/)
6 # using unionfs-2.5.6 (http://www.filesystems.org/project-unionfs.html)
7 # dropped tuxonice support
8 # dropped reiser4 support
9
10 # what type are we building (sources or image) ?
11 KERNEL_TYPE="sources"
12
13 # which branch we're using
14 BRANCH="mcore"
15
16 PNAME="kernel26-sources-${BRANCH}"
17
18 # 2.6.x.x subver style
19 PSUBVER=""
20
21 PVER="2.6.36${PSUBVER}"
22 PBUILD="r2"
23
24 PCATEGORIE="sys-kernel"
25 STATE="unstable"
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 # we are providing a realpkg from now on !
35 # note: for srcinstall only ! no package exists
36 #PKGTYPE="sources"
37
38 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
39 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
40
41 # include global kernel26 functions
42 sminclude kernel26
43
44 # --- extra drivers included in this kernel: ---
45 # we do not bundle ati-drivers and nvidia-glx drivers anymore
46 # use our new module builders!
47 # --- eot extra drivers ---
48
49 # we are providing a realpkg from now on !
50 # note2: we prevent to build a package here (smage2)
51 #NOPKGBUILD=true
52
53 # no need to waste time here
54 NOSTRIP=true
55
56 SRC_URI=(
57 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
58 mirror://kernel26-${BRANCH}/${SRCFILE}
59 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
60 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0100-2.6.36.1-all-fixes.patch patches-${PVER}-${PBUILD}"
61 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.36-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
62 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.36-unionfs-2.5.6.patch patches-${PVER}-${PBUILD}"
63 )
64
65 UP2PVER="${PVER}"
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}-${PBUILD}/0100-2.6.36.1-all-fixes.patch || die
75 # 150-300 - magellan patches, driver updates etc
76 mpatch patches-${PVER}-${PBUILD}/0150-2.6.36-fbcondecor-0.9.6.patch || die
77 mpatch patches-${PVER}-${PBUILD}/0153-2.6.36-unionfs-2.5.6.patch || die
78 # 300-400 - compilations fixes and other
79 }