Contents of /trunk/core/kernel-magellan/kernel-magellan-4.4.5-r1.smage2
Parent Directory | Revision Log
Revision 27533 -
(show annotations)
(download)
Thu Mar 10 15:12:55 2016 UTC (8 years, 6 months ago) by niro
File size: 1939 byte(s)
Thu Mar 10 15:12:55 2016 UTC (8 years, 6 months ago) by niro
File size: 1939 byte(s)
auto added: ver bump to 4.4.5-r1
1 | # $Id$ |
2 | |
3 | # standard magellan kernel: |
4 | # using linux-4.4.5 |
5 | NET_DSA |
6 | MPLS_IPTUNNEL |
7 | CONFIG_PMBUS |
8 | |
9 | # global kernel setup |
10 | COMPRESS_MODULES="gzip" |
11 | LINUX_FIRMWARE="201510629" |
12 | |
13 | BRANCH="magellan" |
14 | |
15 | PNAME="kernel-${BRANCH}" |
16 | |
17 | # 2.6.x.x subver style |
18 | PSUBVER="" |
19 | |
20 | PVER="4.4.5" |
21 | PBUILD="r1" |
22 | |
23 | # set the right tarball version |
24 | TARBALLPVER="${PVER%.*}" |
25 | |
26 | KERNEL_IMAGE_DEPEND=">= virtual/module-tools |
27 | >= sys-fs/udev-228 |
28 | >= virtual/initramfs-tools |
29 | >= virtual/initscripts" |
30 | # kernel.sminc adds linux-firmware if required! |
31 | |
32 | KERNEL_IMAGE_PROVIDE="virtual/kernel |
33 | virtual/alsa-drivers" |
34 | |
35 | # include global kernel functions |
36 | sminclude kernel-split |
37 | |
38 | # --- extra drivers included in this kernel: --- |
39 | # we do not bundle ati-drivers and nvidia-glx drivers anymore |
40 | # use our new module builders! |
41 | # --- eot extra drivers --- |
42 | |
43 | SRC_URI=( |
44 | http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE} |
45 | mirror://kernel-${BRANCH}/${SRCFILE} |
46 | mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686 |
47 | mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 |
48 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-4.4.1-all-fixes.patch |
49 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.4.2-all-fixes.patch |
50 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.4.3-all-fixes.patch |
51 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.4.4-all-fixes.patch |
52 | mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.4.5-all-fixes.patch |
53 | ) |
54 | |
55 | UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'stable:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'" |
56 | |
57 | kernel_apply_patches() |
58 | { |
59 | cd ${SRCDIR} |
60 | |
61 | # 001-100 - ck patches |
62 | mpatch 0100-4.4.1-all-fixes.patch || die |
63 | mpatch 0101-4.4.2-all-fixes.patch || die |
64 | mpatch 0102-4.4.3-all-fixes.patch || die |
65 | mpatch 0103-4.4.4-all-fixes.patch || die |
66 | mpatch 0104-4.4.5-all-fixes.patch || die |
67 | # 100-150 - official updates |
68 | # 150-300 - magellan patches, driver updates etc |
69 | # 300-400 - compilations fixes and other |
70 | } |