# $Id$ # base alx kernel: # using linux-3.4.20 # enabled staging usbip drivers # enabled staging nouveau driver # enabeld staging vmware drm driver # do not set UEVENT_HELPER to "/sbin/hotplug" anymore but to "" as descripted in udev-176 README # enabled linux-firmware # dropped mca support # dropped isa alsa drivers # built usb-hcd drivers as module # built usb-storage driver as module # build all filesystems but ext2 as module # build nfs-client support as module # build codepages as modules # be more modular # enabled ipv6 # enabled full cgroup support # what type are we building (sources, image or headers) ? KERNEL_TYPE="image" COMPRESS_MODULES="gzip" LINUX_FIRMWARE="20120304" BRANCH="alx" PNAME="kernel-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="3.4.20${PSUBVER}" PBUILD="r1" # set the right tarball version # set the right tarball version TARBALLPVER="${PVER%.*}" DEPEND=">= virtual/module-tools >= sys-fs/udev-185 >= virtual/initramfs-tools >= virtual/initscripts" # kernel.sminc adds linux-firmware if requiered! PROVIDE="virtual/kernel virtual/alsa-drivers" # include global kernel functions sminclude kernel mtools # --- 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-3.4.1-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.4.2-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.4.3-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.4.4-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.4.5-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.4.6-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.4.7-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.4.8-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.4.9-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-3.4.10-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-3.4.11-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-3.4.12-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-3.4.13-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-3.4.14-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-3.4.15-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-3.4.16-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-3.4.17-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-3.4.18-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-3.4.19-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-3.4.20-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0300-3.4-fix-lpfc-compilation-without-debugfs.patch ) UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" src_prepare() { kernel_src_prepare || die # 001-100 - ck patches # 100-150 - official updates mpatch 0100-3.4.1-all-fixes.patch || die mpatch 0101-3.4.2-all-fixes.patch || die mpatch 0102-3.4.3-all-fixes.patch || die mpatch 0103-3.4.4-all-fixes.patch || die mpatch 0104-3.4.5-all-fixes.patch || die mpatch 0105-3.4.6-all-fixes.patch || die mpatch 0106-3.4.7-all-fixes.patch || die mpatch 0107-3.4.8-all-fixes.patch || die mpatch 0108-3.4.9-all-fixes.patch || die mpatch 0109-3.4.10-all-fixes.patch || die mpatch 0110-3.4.11-all-fixes.patch || die mpatch 0111-3.4.12-all-fixes.patch || die mpatch 0112-3.4.13-all-fixes.patch || die mpatch 0113-3.4.14-all-fixes.patch || die mpatch 0114-3.4.15-all-fixes.patch || die mpatch 0115-3.4.16-all-fixes.patch || die mpatch 0116-3.4.17-all-fixes.patch || die mpatch 0117-3.4.18-all-fixes.patch || die mpatch 0118-3.4.19-all-fixes.patch || die mpatch 0119-3.4.20-all-fixes.patch || die # 150-300 - magellan patches, driver updates etc # 300-400 - compilations fixes and other mpatch 0300-3.4-fix-lpfc-compilation-without-debugfs.patch || die }