# $Id$ PNAME="linux-libc-headers" PVER="4.15.1" 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-4.14.1-all-fixes.patch ) kernel_apply_patches() { cd ${SRCDIR} # 100-150 - official updates mpatch 0100-4.14.1-all-fixes.patch || die } src_install() { kernel_src_install # use always drm headers from libdrm mdelete -r /usr/include/drm || die }