aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2006-08-05scripts/individual now builds 171 applets. Some of them may even work. :)Rob Landley
2006-08-04Digging up my old "make standalone" stuff from a year ago:Rob Landley
http://busybox.net/lists/busybox/2005-September/015766.html I renamed it "individual" to not confuse it with the standalone shell. (Which it isn't compatible with for obvious reasons.) Configure busybox (I did make defconfig), then run scripts/individual and it'll build an individual version of each applet in the "build" subdirectory. Currently it builds 146 and fails to build 104 applets out of "make defconfig". I haven't taught it about multi-file applets yet (like tar), or the ones where two applets get built from the same source (for example, zcat is a trivial variant of gunzip so there is no zcat.c). But here's a start.
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-07-01Yet more "#if 0" content removed."Robert P. J. Day"
2006-06-15- use shorter boilerplate, more accurate header guardBernhard Reutner-Fischer
- don't use multi-line string literals
2006-06-15- drats.Bernhard Reutner-Fischer
2006-06-15- let the scripts be prerequisites of the files the generateBernhard Reutner-Fischer
- make sure that bbconfig isn't too stupid
2006-06-11- remove superfluous CONFIG_BEGIN and CONFIG_ENDBernhard Reutner-Fischer
2006-05-30Since we have less than 100k of usage.h data anyway, using bzip -9 is silly.Rob Landley
That says use 900k chunks when compressing, which needs about 4 megs of data structures to undo the Burrows-Wheeler transform. Switching it down to bzip -1 (100k chunks) should have no impact on the compression (since it still all fits in one chunk) but should reduce runtime decompression memory requirements to something like 500k. Still larger than gunzip, but not egregiously so.
2006-05-29Teach bloatometer about .rodata, and tweak the display into something thatRob Landley
has a better chance of getting merged.
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-05-26- use the SED given by the userBernhard Reutner-Fischer
- use the portable `` instead of $(). There is no bbsh, so this is needed.
2006-05-26- patch from Tito to pretty print the overall deltaBernhard Reutner-Fischer
2006-05-26fix spelling mistakesMike Frysinger
2006-05-21- check for existing usage binary, so it get's more obvious that the toplevelBernhard Reutner-Fischer
Makefile uses the wrong path to the binary (it's in top_builddir and not in top_srcdir)
2006-05-08Tweak suggested by Matt Mackall when I submitted the bloat-o-meter changesRob Landley
back to linux-kernel...
2006-05-07Script to easily get an assembly dump of a single function.Rob Landley
2006-05-07Add "make bloatcheck" to run Matt Mackall's bloat-o-meter. Copy an oldRob Landley
busybox_unstripped to busybox_old, build a new version, and "make bloatcheck" to see a detailed breakdown of the size difference.
2006-05-05- ignore missing helptext for options which are not selectable.Bernhard Reutner-Fischer
2006-05-04- add script to check for missing help entries of config optionsBernhard Reutner-Fischer
Currently we have these errors: ./modutils/Config.in: No helptext for 'CONFIG_FEATURE_QUERY_MODULE_INTERFACE' ./networking/Config.in: No helptext for 'CONFIG_IPADDR' ./networking/Config.in: No helptext for 'CONFIG_IPLINK' ./networking/Config.in: No helptext for 'CONFIG_IPROUTE' ./networking/Config.in: No helptext for 'CONFIG_IPTUNNEL' ./coreutils/Config.in: No helptext for 'CONFIG_UNIX2DOS'
2006-04-29termios.h is already included so dont include sys/termios.h as wellMike Frysinger
2006-04-27Patch from Dennis Vlasenko to add the option to compress help text.Rob Landley
2006-04-26- patch from Denis Vlasenko to make sizes PHONY and to add objsizes which printsBernhard Reutner-Fischer
the sizes of the individual object files.
2006-04-20kill signed warningsMike Frysinger
2006-04-16use strchr() not index()Mike Frysinger
2006-03-29find ./ -name .cvsignore | xargs svn rmBernhard Reutner-Fischer
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-02- use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer
Fixes make trying to include the very same file in an endless loop.
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-03-01Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Rob Landley
from before "if(x) free(x)".
2006-02-20Rename UNUSE() to SKIP().Rob Landley
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-16isolate and show busybox`s changes"Vladimir N. Oleynik"
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
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-01-31removed unneed signed, avoid warning"Vladimir N. Oleynik"
2006-01-25just whitespaceTim Riker
2006-01-20Zap sysdeps directory, moving Config.in and defconfig to top of tree.Rob Landley
(Busybox should not be system dependent enough to have different default configurations for different platforms. We're not a kernel.)
2005-12-19Make a few warnings go away.Rob Landley
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"