Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 18216 - (show annotations) (download)
Mon Apr 15 10:06:17 2024 UTC (5 weeks, 4 days ago) by niro
File size: 1505 byte(s)
-6.6.27-alx-r1
1 # $Id$
2
3 # base alx kernel:
4 # using linux-6.6.27
5
6 # global kernel setup
7 COMPRESS_MODULES="gzip"
8 LINUX_FIRMWARE="20240311"
9
10 BRANCH="alx"
11
12 PNAME="kernel-${BRANCH}"
13
14 # 2.6.x.x subver style
15 PSUBVER=""
16
17 PVER="6.6.27"
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-253
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-3.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 KERNEL_CONFIG="${SOURCEDIR}/${PNAME}/config-6.6.26-${BRANCH}-r1-${ARCH}"
44
45 SRC_URI=(
46 http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE}
47 mirror://kernel-${BRANCH}/${SRCFILE}
48 mirror://kernel-${BRANCH}/$(basename ${KERNEL_CONFIG})
49 )
50
51 # stable-tree
52 #UP2DATE="updatecmd https://www.kernel.org/ | grep -i 'stable:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
53 # longterm tree
54 UP2DATE="updatecmd https://www.kernel.org/ | grep -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'"
55
56 kernel_apply_patches()
57 {
58 cd ${SRCDIR}
59
60 # 001-100 - ck patches
61 # 100-150 - official updates
62 # 150-300 - magellan patches, driver updates etc
63 # 300-400 - compilations fixes and other
64 }