# $Id$ PNAME="linux-libc-headers" PVER="5.15.83" 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" sminclude kernel # 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-5.4.1-all-fixes.patch || die mpatch 0101-5.4.2-all-fixes.patch || die mpatch 0102-5.4.3-all-fixes.patch || die mpatch 0103-5.4.4-all-fixes.patch || die mpatch 0104-5.4.5-all-fixes.patch || die mpatch 0105-5.4.6-all-fixes.patch || die mpatch 0106-5.4.7-all-fixes.patch || die mpatch 0107-5.4.8-all-fixes.patch || die mpatch 0108-5.4.9-all-fixes.patch || die mpatch 0109-5.4.10-all-fixes.patch || die mpatch 0110-5.4.11-all-fixes.patch || die mpatch 0111-5.4.12-all-fixes.patch || die mpatch 0112-5.4.13-all-fixes.patch || die mpatch 0113-5.4.14-all-fixes.patch || die mpatch 0114-5.4.15-all-fixes.patch || die mpatch 0115-5.4.16-all-fixes.patch || die mpatch 0116-5.4.17-all-fixes.patch || die mpatch 0117-5.4.18-all-fixes.patch || die mpatch 0118-5.4.19-all-fixes.patch || die mpatch 0119-5.4.20-all-fixes.patch || die mpatch 0120-5.4.21-all-fixes.patch || die mpatch 0121-5.4.22-all-fixes.patch || die mpatch 0122-5.4.23-all-fixes.patch || die mpatch 0123-5.4.24-all-fixes.patch || die mpatch 0124-5.4.25-all-fixes.patch || die mpatch 0125-5.4.26-all-fixes.patch || die mpatch 0126-5.4.27-all-fixes.patch || die mpatch 0127-5.4.28-all-fixes.patch || die mpatch 0128-5.4.29-all-fixes.patch || die mpatch 0129-5.4.30-all-fixes.patch || die mpatch 0130-5.4.31-all-fixes.patch || die mpatch 0131-5.4.32-all-fixes.patch || die mpatch 0132-5.4.33-all-fixes.patch || die mpatch 0133-5.4.34-all-fixes.patch || die mpatch 0134-5.4.35-all-fixes.patch || die mpatch 0135-5.4.36-all-fixes.patch || die mpatch 0136-5.4.37-all-fixes.patch || die mpatch 0137-5.4.38-all-fixes.patch || die mpatch 0138-5.4.39-all-fixes.patch || die mpatch 0139-5.4.40-all-fixes.patch || die mpatch 0140-5.4.41-all-fixes.patch || die mpatch 0141-5.4.42-all-fixes.patch || die mpatch 0142-5.4.43-all-fixes.patch || die mpatch 0143-5.4.44-all-fixes.patch || die mpatch 0144-5.4.45-all-fixes.patch || die mpatch 0145-5.4.46-all-fixes.patch || die mpatch 0146-5.4.47-all-fixes.patch || die mpatch 0147-5.4.48-all-fixes.patch || die mpatch 0148-5.4.49-all-fixes.patch || die } src_install() { kernel_src_install # use always drm headers from libdrm mdelete -r /usr/include/drm || die }