# $Id$ # standard magellan kernel: # using linux-3.1.8 # using aufs3-3.1_20111114 (http://aufs.sourceforge.net/) # dropped fbcondecor patches in favor of plymouth # dropped unionfs in favor of aufs # enabled staging usbip drivers # enabled staging nouveau driver # enabled staging ms hyper-v drivers # enabeld staging vmware drm driver # do not set UEVENT_HELPER to "/sbin/hotplug" anymore but to "" as descripted in udev-176 README # really enabled aufs # what type are we building (sources, image or headers) ? KERNEL_TYPE="image" COMPRESS_MODULES="gzip" BRANCH="magellan" PNAME="kernel-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="3.1.8${PSUBVER}" PBUILD="r1" # set the right tarball version TARBALLPVER="${PVER%.*}" DEPEND=">= sys-apps/module-init-tools-3.12 >= sys-fs/udev-175 >= virtual/initramfs-tools >= virtual/initscripts" 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}-i686 mirror://kernel-${BRANCH}/config-${PVER}-${BRANCH}-${PBUILD}-x86_64 mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.1.1-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.1.2-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.1.3-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.1.4-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.1.5-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.1.6-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.1.7-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.1.8-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0150-3.1_20111114-aufs3.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.1.1-all-fixes.patch || die mpatch 0101-3.1.2-all-fixes.patch || die mpatch 0102-3.1.3-all-fixes.patch || die mpatch 0103-3.1.4-all-fixes.patch || die mpatch 0104-3.1.5-all-fixes.patch || die mpatch 0105-3.1.6-all-fixes.patch || die mpatch 0106-3.1.7-all-fixes.patch || die mpatch 0107-3.1.8-all-fixes.patch || die # 150-300 - magellan patches, driver updates etc mpatch 0150-3.1_20111114-aufs3.patch || die # 300-400 - compilations fixes and other }