Basic implementation of 'make headers_install'
authorDavid Woodhouse <dwmw2@infradead.org>
Sun, 18 Jun 2006 10:58:39 +0000 (11:58 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 18 Jun 2006 10:58:39 +0000 (11:58 +0100)
commit8d730cfb50cc77da6d00f941daef440918a1922f
tree9679a9ba79e3c496058d351417a058432c42257d
parent9348f0de2d2b541b4ba64fb1f4efee9710a3d731
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 <arnd@arndb.de>
Hacked about by David Woodhouse <dwmw2@infradead.org>
Reviewed and cleaned up by Sam Ravnborg <sam@ravnborg.org>

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Makefile
scripts/Makefile.headersinst [new file with mode: 0644]