Magellan Linux

Annotation of /smage/trunk/core/kernel-alx/kernel-alx-3.8.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4664 - (hide annotations) (download)
Fri Mar 22 07:19:15 2013 UTC (11 years, 2 months ago) by niro
File size: 1892 byte(s)
auto added: ver bump to 3.8.4-r1
1 niro 4664 # $Id$
2    
3     # base alx kernel:
4     # using linux-3.8.4
5     # enabled usb-audio for Philips SpeechMike III
6     # enabled joystick-interface for Philips SpeechMike III
7    
8     # what type are we building (sources, image or headers) ?
9     KERNEL_TYPE="image"
10     COMPRESS_MODULES="gzip"
11     LINUX_FIRMWARE="20121119"
12    
13     BRANCH="alx"
14    
15     PNAME="kernel-${BRANCH}"
16    
17     # 2.6.x.x subver style
18     PSUBVER=""
19    
20     PVER="3.8.4${PSUBVER}"
21     PBUILD="r1"
22    
23     # set the right tarball version
24     # set the right tarball version
25     TARBALLPVER="${PVER%.*}"
26    
27     DEPEND=">= virtual/module-tools
28     >= sys-fs/udev-198
29     >= virtual/initramfs-tools
30     >= virtual/initscripts"
31     # kernel.sminc adds linux-firmware if requiered!
32    
33     PROVIDE="virtual/kernel
34     virtual/alsa-drivers"
35    
36     # include global kernel functions
37     sminclude kernel mtools
38    
39     # --- extra drivers included in this kernel: ---
40     # we do not bundle ati-drivers and nvidia-glx drivers anymore
41     # use our new module builders!
42     # --- eot extra drivers ---
43    
44     SRC_URI=(
45     http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
46     mirror://kernel-${BRANCH}/${SRCFILE}
47     mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
48     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.8.1-all-fixes.patch
49     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.8.2-all-fixes.patch
50     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.8.3-all-fixes.patch
51     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.8.4-all-fixes.patch
52     )
53    
54     UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
55    
56     src_prepare()
57     {
58     kernel_src_prepare || die
59    
60     # 001-100 - ck patches
61     # 100-150 - official updates
62     mpatch 0100-3.8.1-all-fixes.patch || die
63     mpatch 0101-3.8.2-all-fixes.patch || die
64     mpatch 0102-3.8.3-all-fixes.patch || die
65     mpatch 0103-3.8.4-all-fixes.patch || die
66     # 150-300 - magellan patches, driver updates etc
67     # 300-400 - compilations fixes and other
68     }