linux-headers
- Provide before
musl-headersin stage 1 (toolchain) to prevent overwriting libc headers INSTALL_HDR_PATH="$CRSD"/usronly works withheaders_installtarget (notheaders)headers_installrequiresrsyncfind usr/include -name '.*' -deletedoes not removeMakefileandheaders_check.pl- Remove
usr/include/drmto use headers fromlibdrm - The
headers_checktarget runs a few trivial sanity checks on the headers before install- checks if a header includes something nonexistent
- checks if the declarations inside the headers are sane
- checks if kernel internals are leaked into user space
- not that useful for release tarballs but could come in handy when working with kernel git trees
mrproperrequiresARCH