summaryrefslogtreecommitdiffhomepage
path: root/scripts/bb_mkdep.c
AgeCommit message (Collapse)Author
2006-10-19build system: (try to) get rid of bb_config.h hackDenis Vlasenko
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-05-26- use strtol instead of strtoll if the latter does not existBernhard Reutner-Fischer
- add and use wrapper for attribute - add and use replacement for vasprintf if it is unavailable
2006-02-17quick copy-paste typo"Vladimir N. Oleynik"
2006-02-16moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"
removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
2006-02-15full removed config.h, use bb_config.h only"Vladimir N. Oleynik"
2006-02-14- commentary typosBernhard Reutner-Fischer
2006-02-14commentary typos. Thank by aldot"Vladimir N. Oleynik"
2006-02-13New USE() macrosRob Landley
For each CONFIG_SYMBOL, include/bb_config.h now has both ENABLE_SYMBOL and USE_SYMBOL(x). ENABLE_SYMBOL is still always defined (1 or 0) so that if(ENABLE) should optimize out when it's zero. The USE_SYMBOL(X) will only splice in X if the symbol is defined, otherwise it'll be empty. Thus we can convert this: #ifdef CONFIG_ARGS opt = bb_getopt_ulflags(argc, argv, "ab:c" #ifdef CONFIG_THINGY "d:" #endif , &bvalue #ifdef CONFIG_THINGY , &thingy #endif ); #endif into this: if (ENABLE_ARGS) { opt = bb_getopt_ulflags(argc, argv, "ab:c" USE_THINGY("d:"), &bvalue USE_THINGY(, &thingy)); } And it should produce the same code. Unlike the old versions in include/_usage.h, the new USE_SYMBOL(x) can handle commas in its arguments (as shown above). (The _usage.h file is obsolete and no longer generated.) Nobody should need to include config.h directly anymore, bb_config.h should define all the configuration stuff we need. Someday, the CONFIG_SYMBOL versions should go away in favor of ENABLE_SYMBOL and USE_SYMBOL(). Thanks to vodz for the new version of bb_mkdep.c that works with function macros.
2006-02-12- commentary typosBernhard Reutner-Fischer
2005-10-10bb_mkdep: Rewroted. removed problem "include name must uniq", speed up * 3."Vladimir N. Oleynik"
e2fsprogs: remove confuse bb_mkdep. Use internal e2fsprogs includes only. other: remove confuse bb_mkdep.
2005-10-07fast replace if src outside"Vladimir N. Oleynik"
2005-10-06update documentation"Vladimir N. Oleynik"
2005-10-06bb_mkdep can use src outside now"Vladimir N. Oleynik"
2005-10-03speed up * 2"Vladimir N. Oleynik"
2005-09-19small bug found after strength test"Vladimir N. Oleynik"
2005-09-16speed up +10%, update (c), make CONFIG_FEATURE_MOD2_4 as config/feature/mod_2_4"Vladimir N. Oleynik"
2005-09-14bb_mkdep version 2.0. speed up *2, remove problem of find e2fsprogs/uu*.h, ↵"Vladimir N. Oleynik"
spelling corrections by Bernhard Fischer
2005-09-13bb_mkdep release. speed up *3, clearing, more comments"Vladimir N. Oleynik"
2005-09-12bb_mkdep speed up * 10!"Vladimir N. Oleynik"
2005-09-12new my scripts/mm_mkdep, dependences work now"Vladimir N. Oleynik"