Magellan Linux

Annotation of /branches/magellan-next/core/kernel-sources-magellan/kernel-sources-magellan-3.1.5-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9567 - (hide annotations) (download)
Mon Dec 12 15:03:31 2011 UTC (12 years, 9 months ago) by niro
File size: 2890 byte(s)
auto added: ver bump to 3.1.5-r1
1 niro 9567 # $Id$
2    
3     # standard magellan kernel:
4     # using linux-3.1.5
5     # using aufs3-3.1_20111114 (http://aufs.sourceforge.net/)
6     # dropped fbcondecor patches in favor of plymouth
7     # dropped unionfs in favor of aufs
8     # enabled staging usbip drivers
9     # enabled staging nouveau driver
10     # enabled staging ms hyper-v drivers
11     # enabeld staging vmware drm driver
12    
13     # what type are we building (sources or image) ?
14     KERNEL_TYPE="sources"
15    
16     # which branch we're using
17     BRANCH="magellan"
18    
19     PNAME="kernel-sources-${BRANCH}"
20    
21     # 2.6.x.x subver style
22     PSUBVER=""
23    
24     PVER="3.1.5${PSUBVER}"
25     PBUILD="r1"
26    
27     TARBALLPVER="${PVER%.*}"
28    
29     PCATEGORIE="sys-kernel"
30    
31     DESCRIPTION="Magellan ${PVER}-${BRANCH}-${PBUILD} kernel sources."
32     HOMEPAGE="http://magellan-linux.net"
33    
34     DEPEND=""
35    
36     PROVIDE="virtual/kernel-sources"
37    
38     SRCFILE="linux-${TARBALLPVER}.tar.bz2"
39     SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
40    
41     # include global kernel functions
42     sminclude kernel
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$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
58     mirror://kernel-${BRANCH}/${SRCFILE}
59     mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
60     mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
61     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0100-3.1.1-all-fixes.patch patches-${PVER}-${PBUILD}"
62     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0101-3.1.2-all-fixes.patch patches-${PVER}-${PBUILD}"
63     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0102-3.1.3-all-fixes.patch patches-${PVER}-${PBUILD}"
64     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0103-3.1.4-all-fixes.patch patches-${PVER}-${PBUILD}"
65     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0104-3.1.5-all-fixes.patch patches-${PVER}-${PBUILD}"
66     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0150-3.1_20111114-aufs3.patch patches-${PVER}-${PBUILD}"
67     )
68    
69     UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
70    
71     src_prepare()
72     {
73     kernel_src_prepare || die
74    
75     # 001-100 - ck patches
76     # 100-150 - official updates
77     mpatch patches-${PVER}-${PBUILD}/0100-3.1.1-all-fixes.patch || die
78     mpatch patches-${PVER}-${PBUILD}/0101-3.1.2-all-fixes.patch || die
79     mpatch patches-${PVER}-${PBUILD}/0102-3.1.3-all-fixes.patch || die
80     mpatch patches-${PVER}-${PBUILD}/0103-3.1.4-all-fixes.patch || die
81     mpatch patches-${PVER}-${PBUILD}/0104-3.1.5-all-fixes.patch || die
82     # 150-300 - magellan patches, driver updates etc
83     mpatch patches-${PVER}-${PBUILD}/0150-3.1_20111114-aufs3.patch || die
84     # 300-400 - compilations fixes and other
85     }