# $Id$ PNAME="linux-libc-headers" PVER="3.8.5" PBUILD="r1" # when upgrading linux headers, glibc must be rebuilded # on system bootstrap you should rebuild the whole toolchain # linux-libc-headers -> binutils -> gcc-full -> libc -> binutils -> gcc-full -> libc # # or one-way solution (not always safe, use this only for interim gcc releases) # linux-libc-headers -> libc -> binutils -> gcc-full -> binutils -> libc # # each new gcc release needs a rebuild of libtool # no need to waste time here msetfeature "!strip" KERNEL_TYPE="headers" BRANCH="magellan" TARBALLPVER="${PVER%.*}" sminclude kernel SRC_URI+=( 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 ) UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p' | cut -d. -f1-3" src_prepare() { kernel_src_prepare || die # 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 }