summaryrefslogtreecommitdiff
path: root/extra/scripts/unifdef.c
AgeCommit message (Collapse)Author
2014-01-08buildsys: update unifdefBernhard Reutner-Fischer
sync up to 1542ea42da59018860a987f34f065cd120982e8c (2.10 + cleaner exit status handling) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-01-07buildsys: fixup unifdef state in skiphash, linenumBernhard Reutner-Fischer
amend to fixup line-numbering in the unifdefile Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-01-07buildsys: fixup unifdef state in skiphashBernhard Reutner-Fischer
attempt to fix unifdef swallowing -f defundefile lines Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-11-19buildsys: update unifdefBernhard Reutner-Fischer
sync up to 55501a61dd257e941d53f175350ee52fc6ff2866 (2.9 + refactor keyword and symbol matching) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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.