Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5198 - (show annotations) (download)
Thu Sep 26 08:58:49 2013 UTC (10 years, 8 months ago) by niro
File size: 3474 byte(s)
auto added: ver bump to 3.10.12-r1
1 # $Id$
2
3 # base alx kernel:
4 # using linux-3.10.12
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 # enabled cdc_acm usb modem drivers for scm egk card readers ehealth500
13 # enabled dm_crypt devicemapper target
14 # enabled generation of dm uevents
15 # enabled Cirrus and QXL framebuffer drivers to support qemu
16 # enabled RTC UIE emulation
17 # enabled DMA engine and intel device drivers
18 # enabled pvpanic support for qemu
19 # enabled EFI variable support via sysfs
20 # enabled EFI variable filesystem
21 # enabled F2FS support
22
23 # what type are we building (sources, image or headers) ?
24 KERNEL_TYPE="image"
25 COMPRESS_MODULES="gzip"
26 LINUX_FIRMWARE="20130822"
27
28 BRANCH="alx"
29
30 PNAME="kernel-${BRANCH}"
31
32 # 2.6.x.x subver style
33 PSUBVER=""
34
35 PVER="3.10.12${PSUBVER}"
36 PBUILD="r1"
37
38 # set the right tarball version
39 TARBALLPVER="${PVER%.*}"
40
41 KERNEL_IMAGE_DEPEND=">= virtual/module-tools
42 >= sys-fs/udev-206
43 >= virtual/initramfs-tools
44 >= virtual/initscripts"
45 # kernel.sminc adds linux-firmware if requiered!
46
47 KERNEL_IMAGE_PROVIDE="virtual/kernel
48 virtual/alsa-drivers"
49
50 # include global kernel functions
51 sminclude kernel-split
52
53 # --- extra drivers included in this kernel: ---
54 # we do not bundle ati-drivers and nvidia-glx drivers anymore
55 # use our new module builders!
56 # --- eot extra drivers ---
57
58 SRC_URI=(
59 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
60 mirror://kernel-${BRANCH}/${SRCFILE}
61 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
62 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.10.1-all-fixes.patch
63 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.10.2-all-fixes.patch
64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.10.3-all-fixes.patch
65 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.10.4-all-fixes.patch
66 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.10.5-all-fixes.patch
67 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.10.6-all-fixes.patch
68 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.10.7-all-fixes.patch
69 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.10.8-all-fixes.patch
70 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.10.9-all-fixes.patch
71 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-3.10.10-all-fixes.patch
72 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-3.10.11-all-fixes.patch
73 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-3.10.12-all-fixes.patch
74 )
75
76 UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
77
78 kernel_apply_patches()
79 {
80 cd ${SRCDIR}
81
82 # 001-100 - ck patches
83 # 100-150 - official updates
84 mpatch 0100-3.10.1-all-fixes.patch || die
85 mpatch 0101-3.10.2-all-fixes.patch || die
86 mpatch 0102-3.10.3-all-fixes.patch || die
87 mpatch 0103-3.10.4-all-fixes.patch || die
88 mpatch 0104-3.10.5-all-fixes.patch || die
89 mpatch 0105-3.10.6-all-fixes.patch || die
90 mpatch 0106-3.10.7-all-fixes.patch || die
91 mpatch 0107-3.10.8-all-fixes.patch || die
92 mpatch 0108-3.10.9-all-fixes.patch || die
93 mpatch 0109-3.10.10-all-fixes.patch || die
94 mpatch 0110-3.10.11-all-fixes.patch || die
95 mpatch 0111-3.10.12-all-fixes.patch || die
96 # 150-300 - magellan patches, driver updates etc
97 # 300-400 - compilations fixes and other
98 }