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 9316 - (hide annotations) (download)
Fri Nov 25 23:11:44 2011 UTC (12 years, 6 months ago) by niro
File size: 2357 byte(s)
-added missing patches
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 niro 9313 TARBALLPVER="${PVER%.*}"
28    
29 niro 9306 PCATEGORIE="sys-kernel"
30    
31     DESCRIPTION="Magellan ${PVER}-${BRANCH}-${PBUILD} kernel image with udev, fbsplash, unionfs support."
32     HOMEPAGE="http://magellan-linux.net"
33    
34     DEPEND=">= sys-apps/module-init-tools-3.12
35     >= sys-fs/udev-170
36     >= virtual/initramfs-tools
37     >= virtual/initscripts"
38    
39     PROVIDE="virtual/kernel
40     virtual/alsa-drivers"
41    
42 niro 9313 SRCFILE="linux-${TARBALLPVER}.tar.bz2"
43 niro 9306 SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}"
44    
45     # include global kernel functions
46     sminclude kernel mtools
47    
48     # --- extra drivers included in this kernel: ---
49     # we do not bundle ati-drivers and nvidia-glx drivers anymore
50     # use our new module builders!
51     # --- eot extra drivers ---
52    
53     SRC_URI=(
54 niro 9315 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
55 niro 9306 mirror://kernel-${BRANCH}/${SRCFILE}
56     mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686
57     mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64
58 niro 9316 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0100-3.1.1-all-fixes.patch patches-${PVER}-${PBUILD}"
59     "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0101-3.1.2-all-fixes.patch patches-${PVER}-${PBUILD}"
60 niro 9306 "mirror://kernel-${BRANCH}/patches-${PVER}-${PBUILD}/0150-3.1_20111114-aufs3.patch patches-${PVER}-${PBUILD}"
61     )
62    
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 niro 9308 kernel_src_prepare || die
68 niro 9306
69     # 001-100 - ck patches
70     # 100-150 - official updates
71     mpatch patches-${PVER}-${PBUILD}/0100-3.1.1-all-fixes.patch || die
72     mpatch patches-${PVER}-${PBUILD}/0101-3.1.2-all-fixes.patch || die
73     # 150-300 - magellan patches, driver updates etc
74     mpatch patches-${PVER}-${PBUILD}/0150-3.1_20111114-aufs3.patch || die
75     # 300-400 - compilations fixes and other
76     }