# $Id$ PNAME="linux-libc-headers" PVER="4.4.11" 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-4.4.1-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0101-4.4.2-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0102-4.4.3-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0103-4.4.4-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0104-4.4.5-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0105-4.4.6-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0106-4.4.7-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0107-4.4.8-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0108-4.4.9-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0109-4.4.10-all-fixes.patch mirror://kernel-${BRANCH}/patches-${PVER%.*}/0110-4.4.11-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-4.4.1-all-fixes.patch || die mpatch 0101-4.4.2-all-fixes.patch || die mpatch 0102-4.4.3-all-fixes.patch || die mpatch 0103-4.4.4-all-fixes.patch || die mpatch 0104-4.4.5-all-fixes.patch || die mpatch 0105-4.4.6-all-fixes.patch || die mpatch 0106-4.4.7-all-fixes.patch || die mpatch 0107-4.4.8-all-fixes.patch || die mpatch 0108-4.4.9-all-fixes.patch || die mpatch 0109-4.4.10-all-fixes.patch || die mpatch 0110-4.4.11-all-fixes.patch || die }