Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 15643 - (show annotations) (download)
Mon Oct 24 14:19:35 2022 UTC (18 months ago) by niro
File size: 1520 byte(s)
auto added: ver bump to 4.9.330-r1
1 # $Id$
2
3 # base alx kernel:
4 # using linux-4.9.330
5
6 # global kernel setup
7 COMPRESS_MODULES="gzip"
8 LINUX_FIRMWARE="20200707"
9
10 BRANCH="alx-legacy"
11
12 PNAME="kernel-${BRANCH}"
13
14 # 2.6.x.x subver style
15 PSUBVER=""
16
17 PVER="4.9.330"
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 # --- 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}/patches-${PVER%.*}/0100-4.9.330-full.patch
45 )
46
47 # stable-tree
48 #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'"
49 # longterm tree
50 UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
51
52 kernel_apply_patches()
53 {
54 cd ${SRCDIR}
55
56 # 001-100 - ck patches
57 # 100-150 - official updates
58 mpatch 0100-4.9.330-full.patch || die
59 # 150-300 - magellan patches, driver updates etc
60 # 300-400 - compilations fixes and other
61 }