Annotation of /trunk/core/kernel-magellan/kernel-magellan-4.15.12-r1.smage2
Parent Directory | Revision Log
Revision 30733 -
(hide annotations)
(download)
Thu Mar 22 14:13:38 2018 UTC (6 years, 1 month ago) by niro
File size: 2742 byte(s)
Thu Mar 22 14:13:38 2018 UTC (6 years, 1 month ago) by niro
File size: 2742 byte(s)
auto added: ver bump to 4.15.12-r1
1 | niro | 30733 | # $Id$ |
2 | |||
3 | # standard magellan kernel: | ||
4 | # using linux-4.15.12 | ||
5 | |||
6 | # global kernel setup | ||
7 | COMPRESS_MODULES="gzip" | ||
8 | LINUX_FIRMWARE="20180125" | ||
9 | |||
10 | BRANCH="magellan" | ||
11 | |||
12 | PNAME="kernel-${BRANCH}" | ||
13 | |||
14 | # 2.6.x.x subver style | ||
15 | PSUBVER="" | ||
16 | |||
17 | PVER="4.15.12" | ||
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-230 | ||
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}-i686 | ||
44 | mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 | ||
45 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-4.15.1-all-fixes.patch | ||
46 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.15.2-all-fixes.patch | ||
47 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.15.3-all-fixes.patch | ||
48 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.15.4-all-fixes.patch | ||
49 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.15.5-all-fixes.patch | ||
50 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.15.6-all-fixes.patch | ||
51 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.15.7-all-fixes.patch | ||
52 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-4.15.8-all-fixes.patch | ||
53 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-4.15.9-all-fixes.patch | ||
54 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-4.15.10-all-fixes.patch | ||
55 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-4.15.11-all-fixes.patch | ||
56 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-4.15.12-all-fixes.patch | ||
57 | ) | ||
58 | |||
59 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'stable:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'" | ||
60 | |||
61 | kernel_apply_patches() | ||
62 | { | ||
63 | cd ${SRCDIR} | ||
64 | |||
65 | # 001-100 - ck patches | ||
66 | # 100-150 - official updates | ||
67 | mpatch 0100-4.15.1-all-fixes.patch || die | ||
68 | mpatch 0101-4.15.2-all-fixes.patch || die | ||
69 | mpatch 0102-4.15.3-all-fixes.patch || die | ||
70 | mpatch 0103-4.15.4-all-fixes.patch || die | ||
71 | mpatch 0104-4.15.5-all-fixes.patch || die | ||
72 | mpatch 0105-4.15.6-all-fixes.patch || die | ||
73 | mpatch 0106-4.15.7-all-fixes.patch || die | ||
74 | mpatch 0107-4.15.8-all-fixes.patch || die | ||
75 | mpatch 0108-4.15.9-all-fixes.patch || die | ||
76 | mpatch 0109-4.15.10-all-fixes.patch || die | ||
77 | mpatch 0110-4.15.11-all-fixes.patch || die | ||
78 | mpatch 0111-4.15.12-all-fixes.patch || die | ||
79 | # 150-300 - magellan patches, driver updates etc | ||
80 | # 300-400 - compilations fixes and other | ||
81 | } |