• David Woodhouse's avatar
    Basic implementation of 'make headers_install' · 8d730cfb
    David Woodhouse authored
    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 <arnd@arndb.de>
    Hacked about by David Woodhouse <dwmw2@infradead.org>
    Reviewed and cleaned up by Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
    8d730cfb
Makefile.headersinst 4.44 KB