# $Id$ # base alx kernel: # using linux-3.8.7 # enabled usb-audio for Philips SpeechMike III # enabled joystick-interface for Philips SpeechMike III # enabled LVM support for systemd/dracut livecd booting # via dmsetup (BLK_DEV_DM,DM_SNAPSHOT,DM_ZERO) # disabled deprecated ACPI_PROCFS # disabled deprecated ACPI_PROCFS_POWER # disabled deprecated CONFIG_ACPI_PROC_EVENT # what type are we building (sources, image or headers) ? KERNEL_TYPE="image" COMPRESS_MODULES="gzip" LINUX_FIRMWARE="20121119" BRANCH="alx" PNAME="kernel-${BRANCH}" # 2.6.x.x subver style PSUBVER="" PVER="3.8.7${PSUBVER}" PBUILD="r1" # set the right tarball version # set the right tarball version TARBALLPVER="${PVER%.*}" DEPEND=">= virtual/module-tools >= sys-fs/udev-198 >= 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.8.1-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.8.2-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.8.3-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.8.4-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.8.5-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.8.6-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.8.7-all-fixes.patch ) UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -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.8.1-all-fixes.patch || die mpatch 0101-3.8.2-all-fixes.patch || die mpatch 0102-3.8.3-all-fixes.patch || die mpatch 0103-3.8.4-all-fixes.patch || die mpatch 0104-3.8.5-all-fixes.patch || die mpatch 0105-3.8.6-all-fixes.patch || die mpatch 0106-3.8.7-all-fixes.patch || die # 150-300 - magellan patches, driver updates etc # 300-400 - compilations fixes and other }