summaryrefslogtreecommitdiff
path: root/extra/scripts/unifdef.c
AgeCommit message (Collapse)Author
2009-07-20unifdef: implement err.h funcs locallyMike Frysinger
Since the err.h functions are optional in uClibc, make sure we can rebuild ourselves if support is disabled. URL: https://bugs.busybox.net/show_bug.cgi?id=257 Reported-by: Michael Deutschmann <michael@talamasca.ocis.net> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-04-06apply getline() fix from linux kernelMike Frysinger
2008-12-28fix another corner case in unifdefDenis Vlasenko
2008-12-28patch up unifdef to recognize and remove "#if defined _LIBC && something"Denis Vlasenko
blocks too (and similar)
2008-04-27build system: improve install_headers.Denis Vlasenko
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.