Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8028 - (show annotations) (download)
Mon Dec 21 13:45:01 2015 UTC (8 years, 4 months ago) by niro
File size: 4361 byte(s)
auto added: ver bump to 3.18.25-r1
1 # $Id$
2
3 # base alx kernel:
4 # using linux-3.18.25
5
6 # global kernel setup
7 COMPRESS_MODULES="gzip"
8 LINUX_FIRMWARE="20150629"
9
10 BRANCH="alx"
11
12 PNAME="kernel-${BRANCH}"
13
14 # 2.6.x.x subver style
15 PSUBVER=""
16
17 PVER="3.18.25"
18 PBUILD="r1"
19
20 # set the right tarball version
21 TARBALLPVER="${PVER%.*}"
22
23 KERNEL_IMAGE_DEPEND=">= virtual/module-tools
24 >= sys-fs/udev-220
25 >= virtual/initramfs-tools
26 >= virtual/initscripts"
27 # kernel.sminc adds linux-firmware if required!
28
29 KERNEL_IMAGE_PROVIDE="virtual/kernel
30 virtual/alsa-drivers"
31
32 # include global kernel functions
33 sminclude kernel-split
34
35 # --- extra drivers included in this kernel: ---
36 # we do not bundle ati-drivers and nvidia-glx drivers anymore
37 # use our new module builders!
38 # --- eot extra drivers ---
39
40 SRC_URI=(
41 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
42 mirror://kernel-${BRANCH}/${SRCFILE}
43 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i486
44 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.18.1-all-fixes.patch
45 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.18.2-all-fixes.patch
46 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.18.3-all-fixes.patch
47 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.18.4-all-fixes.patch
48 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.18.5-all-fixes.patch
49 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.18.6-all-fixes.patch
50 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.18.7-all-fixes.patch
51 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.18.8-all-fixes.patch
52 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.18.9-all-fixes.patch
53 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-3.18.10-all-fixes.patch
54 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-3.18.11-all-fixes.patch
55 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-3.18.12-all-fixes.patch
56 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-3.18.13-all-fixes.patch
57 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-3.18.14-all-fixes.patch
58 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-3.18.15-all-fixes.patch
59 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-3.18.16-all-fixes.patch
60 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-3.18.17-all-fixes.patch
61 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-3.18.18-all-fixes.patch
62 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-3.18.19-all-fixes.patch
63 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-3.18.20-all-fixes.patch
64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-3.18.21-all-fixes.patch
65 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0121-3.18.22-all-fixes.patch
66 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0122-3.18.23-all-fixes.patch
67 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0123-3.18.24-all-fixes.patch
68 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0124-3.18.25-all-fixes.patch
69 )
70
71 # stable-tree
72 #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
73 # longterm tree
74 UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
75
76 kernel_apply_patches()
77 {
78 cd ${SRCDIR}
79
80 # 001-100 - ck patches
81 # 100-150 - official updates
82 mpatch 0100-3.18.1-all-fixes.patch || die
83 mpatch 0101-3.18.2-all-fixes.patch || die
84 mpatch 0102-3.18.3-all-fixes.patch || die
85 mpatch 0103-3.18.4-all-fixes.patch || die
86 mpatch 0104-3.18.5-all-fixes.patch || die
87 mpatch 0105-3.18.6-all-fixes.patch || die
88 mpatch 0106-3.18.7-all-fixes.patch || die
89 mpatch 0107-3.18.8-all-fixes.patch || die
90 mpatch 0108-3.18.9-all-fixes.patch || die
91 mpatch 0109-3.18.10-all-fixes.patch || die
92 mpatch 0110-3.18.11-all-fixes.patch || die
93 mpatch 0111-3.18.12-all-fixes.patch || die
94 mpatch 0112-3.18.13-all-fixes.patch || die
95 mpatch 0113-3.18.14-all-fixes.patch || die
96 mpatch 0114-3.18.15-all-fixes.patch || die
97 mpatch 0115-3.18.16-all-fixes.patch || die
98 mpatch 0116-3.18.17-all-fixes.patch || die
99 mpatch 0117-3.18.18-all-fixes.patch || die
100 mpatch 0118-3.18.19-all-fixes.patch || die
101 mpatch 0119-3.18.20-all-fixes.patch || die
102 mpatch 0120-3.18.21-all-fixes.patch || die
103 mpatch 0121-3.18.22-all-fixes.patch || die
104 mpatch 0122-3.18.23-all-fixes.patch || die
105 mpatch 0123-3.18.24-all-fixes.patch || die
106 mpatch 0124-3.18.25-all-fixes.patch || die
107 # 150-300 - magellan patches, driver updates etc
108 # 300-400 - compilations fixes and other
109 }