OSDN Git Service

build system: improve install_headers.
authorDenis Vlasenko <vda.linux@googlemail.com>
Sun, 27 Apr 2008 23:10:00 +0000 (23:10 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Sun, 27 Apr 2008 23:10:00 +0000 (23:10 -0000)
commit8602e0ef80ecb67816746b26cd0fecfe2acf25bc
tree1336bcda5f42ba007c56a8f1364a025dd2c1cdba
parent9eceda7e58d5afa87ff22c108cb938000ad02ba4
build system: improve install_headers.
Now it uses dedicated script instead of inline makefile commands,
which helps readability.
It also installs asm[-generic] and linux subdirs from kernel headers
(previously it had to be done separately).
Lastly, it passes each uclibc header thru unifdef, which strips
#ifdef UCLIBC_INTERNAL conditional from headers.
Currently it's a no-op (no such #ifders in tree).
The plan is to have libc_hidden_proto(foo) migrated to headers
and guard them by these #ifdefs.
Makefile.in
extra/scripts/install_headers.sh [new file with mode: 0755]
extra/scripts/unifdef.c [new file with mode: 0644]