Basic implementation of 'make headers_install'
This adds a make target which exports a subset of headers which contain definitions which are useful for system libraries and tools. It uses the BSD 'unifdef' tool to remove instances of #ifdef __KERNEL__, and uses sed to remove markers like __user. Based on an original implementation by Arnd Bergmann <firstname.lastname@example.org> Hacked about by David Woodhouse <email@example.com> Reviewed and cleaned up by Sam Ravnborg <firstname.lastname@example.org> Signed-off-by: David Woodhouse <email@example.com>
Showing with 160 additions and 0 deletions