Magellan Linux

Contents of /smage/trunk/core/kernel26-sources-mcore/kernel26-sources-mcore-2.6.37-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1096 - (show annotations) (download)
Tue Jan 25 23:40:29 2011 UTC (13 years, 4 months ago) by niro
File size: 2245 byte(s)
auto added: ver bump to 2.6.37-r1
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.37
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
8 # what type are we building (sources or image) ?
9 KERNEL_TYPE="sources"
10
11 # which branch we're using
12 BRANCH="mcore"
13
14 PNAME="kernel26-sources-${BRANCH}"
15
16 # 2.6.x.x subver style
17 PSUBVER=""
18
19 PVER="2.6.37${PSUBVER}"
20 PBUILD="r1"
21
22 PCATEGORIE="sys-kernel"
23 STATE="unstable"
24
25 DESCRIPTION="DEV Kernel ${PVER}-${BRANCH}-${PBUILD} kernel sources."
26 HOMEPAGE="http://magellan-linux.net"
27
28 DEPEND=""
29
30 PROVIDE="virtual/kernel-sources"
31
32 # we are providing a realpkg from now on !
33 # note: for srcinstall only ! no package exists
34 #PKGTYPE="sources"
35
36 SRCFILE="linux-${PVER/${PSUBVER}/}.tar.bz2"
37 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
38
39 # include global kernel26 functions
40 sminclude kernel26
41
42 # --- extra drivers included in this kernel: ---
43 # we do not bundle ati-drivers and nvidia-glx drivers anymore
44 # use our new module builders!
45 # --- eot extra drivers ---
46
47 # we are providing a realpkg from now on !
48 # note2: we prevent to build a package here (smage2)
49 #NOPKGBUILD=true
50
51 # no need to waste time here
52 NOSTRIP=true
53
54 SRC_URI=(
55 http://www.kernel.org/pub/linux/kernel/v${PVER:0:3}/${SRCFILE}
56 mirror://kernel26-${BRANCH}/${SRCFILE}
57 mirror://kernel26-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
58 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0150-2.6.37-fbcondecor-0.9.6.patch patches-${PVER}-${PBUILD}"
59 "mirror://kernel26-${BRANCH}/patches-${PVER}-${PBUILD}/0153-2.6.37-unionfs-2.5.7.patch patches-${PVER}-${PBUILD}"
60 )
61
62 UP2PVER="${PVER}"
63 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
64
65 src_prepare()
66 {
67 kernel26_src_prepare || die
68
69 # 001-100 - ck patches (deprecated atm)
70 # 100-150 - official updates
71 # 150-300 - magellan patches, driver updates etc
72 mpatch patches-${PVER}-${PBUILD}/0150-2.6.37-fbcondecor-0.9.6.patch || die
73 mpatch patches-${PVER}-${PBUILD}/0153-2.6.37-unionfs-2.5.7.patch || die
74 # 300-400 - compilations fixes and other
75 }