# $Id$ # standard magellan kernel: # using linux-3.1.2 # 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 # what type are we building (sources or image) ? KERNEL_TYPE="image" # which branch we're using BRANCH="magellan" PNAME="kernel-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="3.1.2${PSUBVER}" PBUILD="r1" PCATEGORIE="sys-kernel" DESCRIPTION="Magellan ${PVER}-${BRANCH}-${PBUILD} kernel image with udev, fbsplash, unionfs support." HOMEPAGE="http://magellan-linux.net" DEPEND=">= sys-apps/module-init-tools-3.12 >= sys-fs/udev-170 >= virtual/initramfs-tools >= virtual/initscripts" PROVIDE="virtual/kernel virtual/alsa-drivers" SRCFILE="linux-${PVER%.*}.tar.bz2" SRCDIR="${BUILDDIR}/linux-${PVER}-${BRANCH}-${PBUILD}" # 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${PVER%.*}/${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}-${PBUILD}/0150-3.1_20111114-aufs3.patch patches-${PVER}-${PBUILD}" ) UP2DATE="updatecmd http://www.kernel.org/ | grep -A3 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" src_prepare() { kernel26_src_prepare || die # 001-100 - ck patches # 100-150 - official updates mpatch patches-${PVER}-${PBUILD}/0100-3.1.1-all-fixes.patch || die mpatch patches-${PVER}-${PBUILD}/0101-3.1.2-all-fixes.patch || die # 150-300 - magellan patches, driver updates etc mpatch patches-${PVER}-${PBUILD}/0150-3.1_20111114-aufs3.patch || die # 300-400 - compilations fixes and other }