# $Id$ # standard magellan kernel: # using linux-4.15.12 # global kernel setup COMPRESS_MODULES="gzip" LINUX_FIRMWARE="20180125" BRANCH="magellan" PNAME="kernel-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="4.15.12" PBUILD="r1" # set the right tarball version TARBALLPVER="${PVER%.*}" KERNEL_IMAGE_DEPEND=">= virtual/module-tools >= sys-fs/udev-230 >= virtual/initramfs-tools >= virtual/initscripts" # kernel.sminc adds linux-firmware if required! KERNEL_IMAGE_PROVIDE="virtual/kernel virtual/alsa-drivers" # include global kernel functions sminclude kernel-split # --- extra drivers included in this kernel: --- # we do not bundle ati-drivers and nvidia-glx drivers anymore # use our new module builders! # --- eot extra drivers --- SRC_URI=( http://www.kernel.org/pub/linux/kernel/v$(echo ${PVER} | cut -d. -f1).x/${SRCFILE} mirror://kernel-${BRANCH}/${SRCFILE} mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-i686 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-4.15.1-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.15.2-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.15.3-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.15.4-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.15.5-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.15.6-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.15.7-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-4.15.8-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-4.15.9-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-4.15.10-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-4.15.11-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-4.15.12-all-fixes.patch ) UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'stable:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'" kernel_apply_patches() { cd ${SRCDIR} # 001-100 - ck patches # 100-150 - official updates mpatch 0100-4.15.1-all-fixes.patch || die mpatch 0101-4.15.2-all-fixes.patch || die mpatch 0102-4.15.3-all-fixes.patch || die mpatch 0103-4.15.4-all-fixes.patch || die mpatch 0104-4.15.5-all-fixes.patch || die mpatch 0105-4.15.6-all-fixes.patch || die mpatch 0106-4.15.7-all-fixes.patch || die mpatch 0107-4.15.8-all-fixes.patch || die mpatch 0108-4.15.9-all-fixes.patch || die mpatch 0109-4.15.10-all-fixes.patch || die mpatch 0110-4.15.11-all-fixes.patch || die mpatch 0111-4.15.12-all-fixes.patch || die # 150-300 - magellan patches, driver updates etc # 300-400 - compilations fixes and other }