Magellan Linux

Contents of /smage/trunk/core/kernel-alx/kernel-alx-3.8.3-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4650 - (show annotations) (download)
Wed Mar 20 14:29:35 2013 UTC (11 years, 1 month ago) by niro
File size: 1777 byte(s)
auto added: ver bump to 3.8.3-r1
1 # $Id$
2
3 # base alx kernel:
4 # using linux-3.8.3
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.3${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 )
52
53 UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
54
55 src_prepare()
56 {
57 kernel_src_prepare || die
58
59 # 001-100 - ck patches
60 # 100-150 - official updates
61 mpatch 0100-3.8.1-all-fixes.patch || die
62 mpatch 0101-3.8.2-all-fixes.patch || die
63 mpatch 0102-3.8.3-all-fixes.patch || die
64 # 150-300 - magellan patches, driver updates etc
65 # 300-400 - compilations fixes and other
66 }