# $Id$ PNAME="linux-libc-headers" PVER="3.14.22" 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="alx" TARBALLPVER="${PVER%.*}" sminclude kernel SRC_URI+=( mirror://kernel-${BRANCH}/patches-${PVER%.*}/0100-3.14.1-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-3.14.2-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-3.14.3-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-3.14.4-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-3.14.5-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-3.14.6-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-3.14.7-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-3.14.8-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-3.14.9-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-3.14.10-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-3.14.11-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0111-3.14.12-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0112-3.14.13-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0113-3.14.14-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0114-3.14.15-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0115-3.14.16-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0116-3.14.17-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0117-3.14.18-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0118-3.14.19-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0119-3.14.20-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0120-3.14.21-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0121-3.14.22-all-fixes.patch ) # stable-tree #UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'latest stable' | sed -n 's/.*\([0-9].[0-9].[0-9].*\).*/\1/;$ p'" # longterm tree UP2DATE="updatecmd http://www.kernel.org/ | grep -A1 -i 'longterm:' | sed 's/.*:\ \([0-9]\.[0-9].*\)\ [0-9].*/\1/;q'" kernel_apply_patches() { cd ${SRCDIR} # 100-150 - official updates mpatch 0100-3.14.1-all-fixes.patch || die mpatch 0101-3.14.2-all-fixes.patch || die mpatch 0102-3.14.3-all-fixes.patch || die mpatch 0103-3.14.4-all-fixes.patch || die mpatch 0104-3.14.5-all-fixes.patch || die mpatch 0105-3.14.6-all-fixes.patch || die mpatch 0106-3.14.7-all-fixes.patch || die mpatch 0107-3.14.8-all-fixes.patch || die mpatch 0108-3.14.9-all-fixes.patch || die mpatch 0109-3.14.10-all-fixes.patch || die mpatch 0110-3.14.11-all-fixes.patch || die mpatch 0111-3.14.12-all-fixes.patch || die mpatch 0112-3.14.13-all-fixes.patch || die mpatch 0113-3.14.14-all-fixes.patch || die mpatch 0114-3.14.15-all-fixes.patch || die mpatch 0115-3.14.16-all-fixes.patch || die mpatch 0116-3.14.17-all-fixes.patch || die mpatch 0117-3.14.18-all-fixes.patch || die mpatch 0118-3.14.19-all-fixes.patch || die mpatch 0119-3.14.20-all-fixes.patch || die mpatch 0120-3.14.21-all-fixes.patch || die mpatch 0121-3.14.22-all-fixes.patch || die }