Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9306 - (hide annotations) (download)
Fri Nov 25 22:38:56 2011 UTC (12 years, 5 months ago) by niro
File size: 2092 byte(s)
auto added: ver bump to 3.1.2-r1
1 niro 9306 # $Id$
2    
3     # standard magellan kernel:
4     # using linux-3.1.2
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="image"
15    
16     # which branch we're using
17     BRANCH="magellan"
18    
19     PNAME="kernel-${BRANCH}"
20    
21     # 2.6.x.x subver style
22     PSUBVER=""
23    
24     PVER="3.1.2${PSUBVER}"
25     PBUILD="r1"
26    
27     PCATEGORIE="sys-kernel"
28    
29     DESCRIPTION="Magellan ${PVER}-${BRANCH}-${PBUILD} kernel image with udev, fbsplash, unionfs support."
30     HOMEPAGE="http://magellan-linux.net"
31    
32     DEPEND=">= sys-apps/module-init-tools-3.12
33     >= sys-fs/udev-170
34     >= virtual/initramfs-tools
35     >= virtual/initscripts"
36    
37     PROVIDE="virtual/kernel
38     virtual/alsa-drivers"
39    
40     SRCFILE="linux-${PVER%.*}.tar.bz2"
41     SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
42    
43     # include global kernel functions
44     sminclude kernel mtools
45    
46     # --- extra drivers included in this kernel: ---
47     # we do not bundle ati-drivers and nvidia-glx drivers anymore
48     # use our new module builders!
49     # --- eot extra drivers ---
50    
51     SRC_URI=(
52     http://www.kernel.org/pub/linux/kernel/v${PVER%.*}/${SRCFILE}
53     mirror://kernel-${BRANCH}/${SRCFILE}
54     mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
55     mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
56     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0150-3.1_20111114-aufs3.patch patches-${PVER}-${PBUILD}"
57     )
58    
59     UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
60    
61     src_prepare()
62     {
63     kernel26_src_prepare || die
64    
65     # 001-100 - ck patches
66     # 100-150 - official updates
67     mpatch patches-${PVER}-${PBUILD}/0100-3.1.1-all-fixes.patch || die
68     mpatch patches-${PVER}-${PBUILD}/0101-3.1.2-all-fixes.patch || die
69     # 150-300 - magellan patches, driver updates etc
70     mpatch patches-${PVER}-${PBUILD}/0150-3.1_20111114-aufs3.patch || die
71     # 300-400 - compilations fixes and other
72     }