Magellan Linux

Contents of /smage/branches/alx07x-unstable/core/kernel-alx/kernel-alx-4.9.45-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10868 - (show annotations) (download)
Thu Aug 31 08:29:08 2017 UTC (6 years, 7 months ago) by niro
File size: 6716 byte(s)
-release branches/alx07x-unstable
1 # $Id$
2
3 # base alx kernel:
4 # using linux-4.9.45
5
6 # global kernel setup
7 COMPRESS_MODULES="gzip"
8 LINUX_FIRMWARE="20170519"
9
10 BRANCH="alx"
11
12 PNAME="kernel-${BRANCH}"
13
14 # 2.6.x.x subver style
15 PSUBVER=""
16
17 PVER="4.9.45"
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}/config-${PVER}-${BRANCH}-${PBUILD}-i686
45 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-4.9.1-all-fixes.patch
46 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.9.2-all-fixes.patch
47 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.9.3-all-fixes.patch
48 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.9.4-all-fixes.patch
49 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.9.5-all-fixes.patch
50 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.9.6-all-fixes.patch
51 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.9.7-all-fixes.patch
52 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-4.9.8-all-fixes.patch
53 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-4.9.9-all-fixes.patch
54 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-4.9.10-all-fixes.patch
55 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-4.9.11-all-fixes.patch
56 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-4.9.12-all-fixes.patch
57 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-4.9.13-all-fixes.patch
58 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-4.9.14-all-fixes.patch
59 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-4.9.15-all-fixes.patch
60 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-4.9.16-all-fixes.patch
61 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-4.9.17-all-fixes.patch
62 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-4.9.18-all-fixes.patch
63 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-4.9.19-all-fixes.patch
64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-4.9.20-all-fixes.patch
65 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-4.9.21-all-fixes.patch
66 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0121-4.9.22-all-fixes.patch
67 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0122-4.9.23-all-fixes.patch
68 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0123-4.9.24-all-fixes.patch
69 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0124-4.9.25-all-fixes.patch
70 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0125-4.9.26-all-fixes.patch
71 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0126-4.9.27-all-fixes.patch
72 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0127-4.9.28-all-fixes.patch
73 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0128-4.9.29-all-fixes.patch
74 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0129-4.9.30-all-fixes.patch
75 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0130-4.9.31-all-fixes.patch
76 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0131-4.9.32-all-fixes.patch
77 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0132-4.9.33-all-fixes.patch
78 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0133-4.9.34-all-fixes.patch
79 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0134-4.9.35-all-fixes.patch
80 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0135-4.9.36-all-fixes.patch
81 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0136-4.9.37-all-fixes.patch
82 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0137-4.9.38-all-fixes.patch
83 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0138-4.9.39-all-fixes.patch
84 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0139-4.9.40-all-fixes.patch
85 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0140-4.9.41-all-fixes.patch
86 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0141-4.9.42-all-fixes.patch
87 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0142-4.9.43-all-fixes.patch
88 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0143-4.9.44-all-fixes.patch
89 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0144-4.9.45-all-fixes.patch
90 )
91
92 # stable-tree
93 #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
94 # longterm tree
95 UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
96
97 kernel_apply_patches()
98 {
99 cd ${SRCDIR}
100
101 # 001-100 - ck patches
102 # 100-150 - official updates
103 mpatch 0100-4.9.1-all-fixes.patch || die
104 mpatch 0101-4.9.2-all-fixes.patch || die
105 mpatch 0102-4.9.3-all-fixes.patch || die
106 mpatch 0103-4.9.4-all-fixes.patch || die
107 mpatch 0104-4.9.5-all-fixes.patch || die
108 mpatch 0105-4.9.6-all-fixes.patch || die
109 mpatch 0106-4.9.7-all-fixes.patch || die
110 mpatch 0107-4.9.8-all-fixes.patch || die
111 mpatch 0108-4.9.9-all-fixes.patch || die
112 mpatch 0109-4.9.10-all-fixes.patch || die
113 mpatch 0110-4.9.11-all-fixes.patch || die
114 mpatch 0111-4.9.12-all-fixes.patch || die
115 mpatch 0112-4.9.13-all-fixes.patch || die
116 mpatch 0113-4.9.14-all-fixes.patch || die
117 mpatch 0114-4.9.15-all-fixes.patch || die
118 mpatch 0115-4.9.16-all-fixes.patch || die
119 mpatch 0116-4.9.17-all-fixes.patch || die
120 mpatch 0117-4.9.18-all-fixes.patch || die
121 mpatch 0118-4.9.19-all-fixes.patch || die
122 mpatch 0119-4.9.20-all-fixes.patch || die
123 mpatch 0120-4.9.21-all-fixes.patch || die
124 mpatch 0121-4.9.22-all-fixes.patch || die
125 mpatch 0122-4.9.23-all-fixes.patch || die
126 mpatch 0123-4.9.24-all-fixes.patch || die
127 mpatch 0124-4.9.25-all-fixes.patch || die
128 mpatch 0125-4.9.26-all-fixes.patch || die
129 mpatch 0126-4.9.27-all-fixes.patch || die
130 mpatch 0127-4.9.28-all-fixes.patch || die
131 mpatch 0128-4.9.29-all-fixes.patch || die
132 mpatch 0129-4.9.30-all-fixes.patch || die
133 mpatch 0130-4.9.31-all-fixes.patch || die
134 mpatch 0131-4.9.32-all-fixes.patch || die
135 mpatch 0132-4.9.33-all-fixes.patch || die
136 mpatch 0133-4.9.34-all-fixes.patch || die
137 mpatch 0134-4.9.35-all-fixes.patch || die
138 mpatch 0135-4.9.36-all-fixes.patch || die
139 mpatch 0136-4.9.37-all-fixes.patch || die
140 mpatch 0137-4.9.38-all-fixes.patch || die
141 mpatch 0138-4.9.39-all-fixes.patch || die
142 mpatch 0139-4.9.40-all-fixes.patch || die
143 mpatch 0140-4.9.41-all-fixes.patch || die
144 mpatch 0141-4.9.42-all-fixes.patch || die
145 mpatch 0142-4.9.43-all-fixes.patch || die
146 mpatch 0143-4.9.44-all-fixes.patch || die
147 mpatch 0144-4.9.45-all-fixes.patch || die
148 # 150-300 - magellan patches, driver updates etc
149 # 300-400 - compilations fixes and other
150 }