linux-headers
INSTALL_HDR_PATH="$CRSD"/usronly works withheaders_installtarget (notheaders)find 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