Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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