New review comment by sgn on void-packages repository https://github.com/void-linux/void-packages/pull/27145#discussion_r542957967 Comment: I don't think we need this patch, just follow what LFS do: ```diff diff --git a/srcpkgs/kernel-libc-headers/template b/srcpkgs/kernel-libc-headers/template index 715e0be817..09e3456812 100644 --- a/srcpkgs/kernel-libc-headers/template +++ b/srcpkgs/kernel-libc-headers/template @@ -26,12 +26,13 @@ esac do_build() { make mrproper - make ARCH=${_arch} headers_check + make ARCH=${_arch} headers } do_install() { - make ARCH=${_arch} INSTALL_HDR_PATH=${DESTDIR}/usr headers_install - # Remove unused files. - rm -f $(find ${DESTDIR}/usr/include -name .install -or -name ..install.cmd) + vmkdir usr + cp -r usr/include $DESTDIR/usr + find $DESTDIR/usr/include -name '.*' -delete + rm $DESTDIR/usr/include/Makefile # Remove drm headers, use libdrm. rm -rf ${DESTDIR}/usr/include/drm } ``` Notes that `headers_check` is nop, now. http://www.linuxfromscratch.org/lfs/view/stable/chapter05/linux-headers.html