# $Id$ # base alx kernel: # using linux-4.1.21 # global kernel setup COMPRESS_MODULES="gzip" LINUX_FIRMWARE="20151216" BRANCH="alx" PNAME="kernel-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="4.4.11" PBUILD="r1" # set the right tarball version TARBALLPVER="${PVER%.*}" KERNEL_IMAGE_DEPEND=">= virtual/module-tools >= sys-fs/udev-220 >= 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}-i486 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-4.1.1-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.1.2-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.1.3-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.1.4-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.1.5-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.1.6-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.1.7-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-4.1.8-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-4.1.9-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-4.1.10-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-4.1.11-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-4.1.12-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-4.1.13-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-4.1.14-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-4.1.15-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-4.1.16-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-4.1.17-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-4.1.18-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-4.1.19-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-4.1.20-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-4.1.21-all-fixes.patch ) # stable-tree #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" # longterm tree UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | 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.1.1-all-fixes.patch || die mpatch 0101-4.1.2-all-fixes.patch || die mpatch 0102-4.1.3-all-fixes.patch || die mpatch 0103-4.1.4-all-fixes.patch || die mpatch 0104-4.1.5-all-fixes.patch || die mpatch 0105-4.1.6-all-fixes.patch || die mpatch 0106-4.1.7-all-fixes.patch || die mpatch 0107-4.1.8-all-fixes.patch || die mpatch 0108-4.1.9-all-fixes.patch || die mpatch 0109-4.1.10-all-fixes.patch || die mpatch 0110-4.1.11-all-fixes.patch || die mpatch 0111-4.1.12-all-fixes.patch || die mpatch 0112-4.1.13-all-fixes.patch || die mpatch 0113-4.1.14-all-fixes.patch || die mpatch 0114-4.1.15-all-fixes.patch || die mpatch 0115-4.1.16-all-fixes.patch || die mpatch 0116-4.1.17-all-fixes.patch || die mpatch 0117-4.1.18-all-fixes.patch || die mpatch 0118-4.1.19-all-fixes.patch || die mpatch 0119-4.1.20-all-fixes.patch || die mpatch 0120-4.1.21-all-fixes.patch || die # 150-300 - magellan patches, driver updates etc # 300-400 - compilations fixes and other }