Magellan Linux

Annotation of /smage/trunk/core/kernel26-sources-mcore/kernel26-sources-mcore-2.6.36-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


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