Magellan Linux

Contents of /smage/trunk/core/kernel-alx/kernel-alx-3.8.4-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4705 - (show annotations) (download)
Wed Mar 27 13:40:21 2013 UTC (11 years, 1 month ago) by niro
File size: 2117 byte(s)
auto added: ver bump to 3.8.4-r2
1 # $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 # enabled LVM support for systemd/dracut livecd booting
8 # via dmsetup (BLK_DEV_DM,DM_SNAPSHOT,DM_ZERO)
9 # disabled deprecated ACPI_PROCFS
10 # disabled deprecated ACPI_PROCFS_POWER
11 # disabled deprecated CONFIG_ACPI_PROC_EVENT
12
13 # what type are we building (sources, image or headers) ?
14 KERNEL_TYPE="image"
15 COMPRESS_MODULES="gzip"
16 LINUX_FIRMWARE="20121119"
17
18 BRANCH="alx"
19
20 PNAME="kernel-${BRANCH}"
21
22 # 2.6.x.x subver style
23 PSUBVER=""
24
25 PVER="3.8.4${PSUBVER}"
26 PBUILD="r2"
27
28 # set the right tarball version
29 # set the right tarball version
30 TARBALLPVER="${PVER%.*}"
31
32 DEPEND=">= virtual/module-tools
33 >= sys-fs/udev-198
34 >= virtual/initramfs-tools
35 >= virtual/initscripts"
36 # kernel.sminc adds linux-firmware if requiered!
37
38 PROVIDE="virtual/kernel
39 virtual/alsa-drivers"
40
41 # include global kernel functions
42 sminclude kernel mtools
43
44 # --- extra drivers included in this kernel: ---
45 # we do not bundle ati-drivers and nvidia-glx drivers anymore
46 # use our new module builders!
47 # --- eot extra drivers ---
48
49 SRC_URI=(
50 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
51 mirror://kernel-${BRANCH}/${SRCFILE}
52 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
53 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.8.1-all-fixes.patch
54 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.8.2-all-fixes.patch
55 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.8.3-all-fixes.patch
56 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.8.4-all-fixes.patch
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 kernel_src_prepare || die
64
65 # 001-100 - ck patches
66 # 100-150 - official updates
67 mpatch 0100-3.8.1-all-fixes.patch || die
68 mpatch 0101-3.8.2-all-fixes.patch || die
69 mpatch 0102-3.8.3-all-fixes.patch || die
70 mpatch 0103-3.8.4-all-fixes.patch || die
71 # 150-300 - magellan patches, driver updates etc
72 # 300-400 - compilations fixes and other
73 }