Magellan Linux

Annotation of /smage/branches/alx07x-unstable/core/kernel-alx/kernel-alx-5.4.56-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14896 - (hide annotations) (download)
Thu Aug 6 12:27:48 2020 UTC (3 years, 9 months ago) by niro
File size: 7987 byte(s)
-release branches/alx07x-unstable
1 niro 14885 # $Id$
2    
3     # base alx kernel:
4     # using linux-5.4.56
5    
6     # global kernel setup
7     COMPRESS_MODULES="gzip"
8     LINUX_FIRMWARE="20200707"
9    
10     BRANCH="alx"
11    
12     PNAME="kernel-${BRANCH}"
13    
14     # 2.6.x.x subver style
15     PSUBVER=""
16    
17     PVER="5.4.56"
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-242
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     SDEPEND="${SDEPEND}
36     >= dev-libs/openssl-dev-1.1"
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}/patches-${PVER%.*}/0100-5.4.1-all-fixes.patch
48     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-5.4.2-all-fixes.patch
49     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-5.4.3-all-fixes.patch
50     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-5.4.4-all-fixes.patch
51     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-5.4.5-all-fixes.patch
52     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-5.4.6-all-fixes.patch
53     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-5.4.7-all-fixes.patch
54     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-5.4.8-all-fixes.patch
55     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-5.4.9-all-fixes.patch
56     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-5.4.10-all-fixes.patch
57     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-5.4.11-all-fixes.patch
58     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-5.4.12-all-fixes.patch
59     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-5.4.13-all-fixes.patch
60     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-5.4.14-all-fixes.patch
61     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-5.4.15-all-fixes.patch
62     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-5.4.16-all-fixes.patch
63     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-5.4.17-all-fixes.patch
64     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-5.4.18-all-fixes.patch
65     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-5.4.19-all-fixes.patch
66     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-5.4.20-all-fixes.patch
67     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-5.4.21-all-fixes.patch
68     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0121-5.4.22-all-fixes.patch
69     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0122-5.4.23-all-fixes.patch
70     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0123-5.4.24-all-fixes.patch
71     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0124-5.4.25-all-fixes.patch
72     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0125-5.4.26-all-fixes.patch
73     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0126-5.4.27-all-fixes.patch
74     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0127-5.4.28-all-fixes.patch
75     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0128-5.4.29-all-fixes.patch
76     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0129-5.4.30-all-fixes.patch
77     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0130-5.4.31-all-fixes.patch
78     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0131-5.4.32-all-fixes.patch
79     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0132-5.4.33-all-fixes.patch
80     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0133-5.4.34-all-fixes.patch
81     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0134-5.4.35-all-fixes.patch
82     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0135-5.4.36-all-fixes.patch
83     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0136-5.4.37-all-fixes.patch
84     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0137-5.4.38-all-fixes.patch
85     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0138-5.4.39-all-fixes.patch
86     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0139-5.4.40-all-fixes.patch
87     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0140-5.4.41-all-fixes.patch
88     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0141-5.4.42-all-fixes.patch
89     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0142-5.4.43-all-fixes.patch
90     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0143-5.4.44-all-fixes.patch
91     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0144-5.4.45-all-fixes.patch
92     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0145-5.4.46-all-fixes.patch
93     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0146-5.4.47-all-fixes.patch
94     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0147-5.4.48-all-fixes.patch
95     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0148-5.4.49-all-fixes.patch
96     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0149-5.4.50-all-fixes.patch
97     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0150-5.4.51-all-fixes.patch
98     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0151-5.4.52-all-fixes.patch
99     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0152-5.4.53-all-fixes.patch
100     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0153-5.4.54-all-fixes.patch
101     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0154-5.4.55-all-fixes.patch
102     mirror://kernel-${BRANCH}/patches-${PVER%.*}/0155-5.4.56-all-fixes.patch
103     )
104    
105     # stable-tree
106     #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
107     # longterm tree
108     UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
109    
110     kernel_apply_patches()
111     {
112     cd ${SRCDIR}
113    
114     # 001-100 - ck patches
115     # 100-150 - official updates
116     mpatch 0100-5.4.1-all-fixes.patch || die
117     mpatch 0101-5.4.2-all-fixes.patch || die
118     mpatch 0102-5.4.3-all-fixes.patch || die
119     mpatch 0103-5.4.4-all-fixes.patch || die
120     mpatch 0104-5.4.5-all-fixes.patch || die
121     mpatch 0105-5.4.6-all-fixes.patch || die
122     mpatch 0106-5.4.7-all-fixes.patch || die
123     mpatch 0107-5.4.8-all-fixes.patch || die
124     mpatch 0108-5.4.9-all-fixes.patch || die
125     mpatch 0109-5.4.10-all-fixes.patch || die
126     mpatch 0110-5.4.11-all-fixes.patch || die
127     mpatch 0111-5.4.12-all-fixes.patch || die
128     mpatch 0112-5.4.13-all-fixes.patch || die
129     mpatch 0113-5.4.14-all-fixes.patch || die
130     mpatch 0114-5.4.15-all-fixes.patch || die
131     mpatch 0115-5.4.16-all-fixes.patch || die
132     mpatch 0116-5.4.17-all-fixes.patch || die
133     mpatch 0117-5.4.18-all-fixes.patch || die
134     mpatch 0118-5.4.19-all-fixes.patch || die
135     mpatch 0119-5.4.20-all-fixes.patch || die
136     mpatch 0120-5.4.21-all-fixes.patch || die
137     mpatch 0121-5.4.22-all-fixes.patch || die
138     mpatch 0122-5.4.23-all-fixes.patch || die
139     mpatch 0123-5.4.24-all-fixes.patch || die
140     mpatch 0124-5.4.25-all-fixes.patch || die
141     mpatch 0125-5.4.26-all-fixes.patch || die
142     mpatch 0126-5.4.27-all-fixes.patch || die
143     mpatch 0127-5.4.28-all-fixes.patch || die
144     mpatch 0128-5.4.29-all-fixes.patch || die
145     mpatch 0129-5.4.30-all-fixes.patch || die
146     mpatch 0130-5.4.31-all-fixes.patch || die
147     mpatch 0131-5.4.32-all-fixes.patch || die
148     mpatch 0132-5.4.33-all-fixes.patch || die
149     mpatch 0133-5.4.34-all-fixes.patch || die
150     mpatch 0134-5.4.35-all-fixes.patch || die
151     mpatch 0135-5.4.36-all-fixes.patch || die
152     mpatch 0136-5.4.37-all-fixes.patch || die
153     mpatch 0137-5.4.38-all-fixes.patch || die
154     mpatch 0138-5.4.39-all-fixes.patch || die
155     mpatch 0139-5.4.40-all-fixes.patch || die
156     mpatch 0140-5.4.41-all-fixes.patch || die
157     mpatch 0141-5.4.42-all-fixes.patch || die
158     mpatch 0142-5.4.43-all-fixes.patch || die
159     mpatch 0143-5.4.44-all-fixes.patch || die
160     mpatch 0144-5.4.45-all-fixes.patch || die
161     mpatch 0145-5.4.46-all-fixes.patch || die
162     mpatch 0146-5.4.47-all-fixes.patch || die
163     mpatch 0147-5.4.48-all-fixes.patch || die
164     mpatch 0148-5.4.49-all-fixes.patch || die
165     mpatch 0149-5.4.50-all-fixes.patch || die
166     mpatch 0150-5.4.51-all-fixes.patch || die
167     mpatch 0151-5.4.52-all-fixes.patch || die
168     mpatch 0152-5.4.53-all-fixes.patch || die
169     mpatch 0153-5.4.54-all-fixes.patch || die
170     mpatch 0154-5.4.55-all-fixes.patch || die
171     mpatch 0155-5.4.56-all-fixes.patch || die
172     # 150-300 - magellan patches, driver updates etc
173     # 300-400 - compilations fixes and other
174     }