aboutsummaryrefslogtreecommitdiff
path: root/scripts
Commit message (Collapse)AuthorAgeFilesLines
* dpkg: reduce bss usage by ~130 kbytes (yes, kilobytes!)Gravatar Denis Vlasenko2006-09-281-1/+1
| | | | | | at the cost of ~100 bytes of text. Improves friendliness to nommu systems. (Dunno whether nommu people ever use dpkg, though...)
* whitespace cleanupGravatar Denis Vlasenko2006-09-176-11/+11
|
* - make sure that the 'build' dir exists even if we are about to build just ↵Gravatar Bernhard Reutner-Fischer2006-09-141-0/+7
| | | | one applet.
* - do away with silly comment and do the Right Thing wrt building the archives.Gravatar Bernhard Reutner-Fischer2006-09-141-28/+1
| | | | You have to provide the absolute path to the objdir/target.ext you want to build, as can be seen in the respective makefiles..
* Another whack at scripts/individual. Now builds 212 applets.Gravatar Rob Landley2006-08-091-17/+68
|
* Teach md5sum and sha1sum to work the way other applets do so I don't have toGravatar Rob Landley2006-08-061-16/+51
| | | | | | teach scripts/individual new tricks. And while I'm at it, teach scripts/individual other new tricks. Now builds 198 applets, some of which I should teach it to hardlink together because they're really the same app...
* scripts/individual now builds 171 applets. Some of them may even work. :)Gravatar Rob Landley2006-08-051-2/+28
|
* Digging up my old "make standalone" stuff from a year ago:Gravatar Rob Landley2006-08-041-0/+37
| | | | | | | | | | | | | | 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.
* Standardize on the vi editing directives being on the first line.Gravatar "Robert P. J. Day"2006-07-0221-0/+21
|
* Yet more "#if 0" content removed.Gravatar "Robert P. J. Day"2006-07-011-2/+1
|
* - use shorter boilerplate, more accurate header guardGravatar Bernhard Reutner-Fischer2006-06-151-23/+7
| | | | - don't use multi-line string literals
* - drats.Gravatar Bernhard Reutner-Fischer2006-06-151-1/+1
|
* - let the scripts be prerequisites of the files the generateGravatar Bernhard Reutner-Fischer2006-06-151-1/+1
| | | | - make sure that bbconfig isn't too stupid
* - remove superfluous CONFIG_BEGIN and CONFIG_ENDGravatar Bernhard Reutner-Fischer2006-06-111-2/+2
|
* Since we have less than 100k of usage.h data anyway, using bzip -9 is silly.Gravatar Rob Landley2006-05-301-1/+1
| | | | | | | | | 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.
* Teach bloatometer about .rodata, and tweak the display into something thatGravatar Rob Landley2006-05-291-8/+10
| | | | has a better chance of getting merged.
* - use strtol instead of strtoll if the latter does not existGravatar Bernhard Reutner-Fischer2006-05-261-3/+19
| | | | | - add and use wrapper for attribute - add and use replacement for vasprintf if it is unavailable
* - use the SED given by the userGravatar Bernhard Reutner-Fischer2006-05-261-2/+3
| | | | - use the portable `` instead of $(). There is no bbsh, so this is needed.
* - patch from Tito to pretty print the overall deltaGravatar Bernhard Reutner-Fischer2006-05-261-0/+4
|
* fix spelling mistakesGravatar Mike Frysinger2006-05-261-1/+1
|
* - check for existing usage binary, so it get's more obvious that the toplevelGravatar Bernhard Reutner-Fischer2006-05-211-0/+1
| | | | Makefile uses the wrong path to the binary (it's in top_builddir and not in top_srcdir)
* Tweak suggested by Matt Mackall when I submitted the bloat-o-meter changesGravatar Rob Landley2006-05-081-3/+2
| | | | back to linux-kernel...
* Script to easily get an assembly dump of a single function.Gravatar Rob Landley2006-05-071-0/+21
|
* Add "make bloatcheck" to run Matt Mackall's bloat-o-meter. Copy an oldGravatar Rob Landley2006-05-071-0/+60
| | | | | busybox_unstripped to busybox_old, build a new version, and "make bloatcheck" to see a detailed breakdown of the size difference.
* - ignore missing helptext for options which are not selectable.Gravatar Bernhard Reutner-Fischer2006-05-051-0/+3
|
* - add script to check for missing help entries of config optionsGravatar Bernhard Reutner-Fischer2006-05-041-0/+37
| | | | | | | | | | | 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'
* termios.h is already included so dont include sys/termios.h as wellGravatar Mike Frysinger2006-04-291-1/+0
|
* Patch from Dennis Vlasenko to add the option to compress help text.Gravatar Rob Landley2006-04-272-0/+25
|
* - patch from Denis Vlasenko to make sizes PHONY and to add objsizes which printsGravatar Bernhard Reutner-Fischer2006-04-261-0/+8
| | | | the sizes of the individual object files.
* kill signed warningsGravatar Mike Frysinger2006-04-202-3/+3
|
* use strchr() not index()Gravatar Mike Frysinger2006-04-161-2/+2
|
* find ./ -name .cvsignore | xargs svn rmGravatar Bernhard Reutner-Fischer2006-03-292-9/+0
|
* - revert back to r14406Gravatar Bernhard Reutner-Fischer2006-03-131-6/+4
|
* - use absolute path for top_builddir and top_srcdir.Gravatar Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - fixes parallel builds (make -j)Gravatar Bernhard Reutner-Fischer2006-03-011-6/+4
| | | | - use less resources for the buildsystem itself
* Cleanup patch from Denis Vlasenko. Mostly variants of removing the if(x)Gravatar Rob Landley2006-03-011-2/+1
| | | | from before "if(x) free(x)".
* Rename UNUSE() to SKIP().Gravatar Rob Landley2006-02-201-1/+1
|
* quick copy-paste typoGravatar "Vladimir N. Oleynik"2006-02-171-1/+1
|
* moved BB_BANNER to applets/version.c file: make kernel like version, Gravatar "Vladimir N. Oleynik"2006-02-161-3/+14
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* isolate and show busybox`s changesGravatar "Vladimir N. Oleynik"2006-02-161-31/+30
|
* full removed config.h, use bb_config.h onlyGravatar "Vladimir N. Oleynik"2006-02-152-18/+44
|
* - commentary typosGravatar Bernhard Reutner-Fischer2006-02-141-3/+3
|
* commentary typos. Thank by aldotGravatar "Vladimir N. Oleynik"2006-02-141-16/+16
|
* New USE() macrosGravatar Rob Landley2006-02-131-65/+866
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* - commentary typosGravatar Bernhard Reutner-Fischer2006-02-121-18/+16
|
* make the build system puuuuuuuuuuurtyGravatar Mike Frysinger2006-02-022-12/+13
|
* removed unneed signed, avoid warningGravatar "Vladimir N. Oleynik"2006-01-311-1/+1
|
* just whitespaceGravatar Tim Riker2006-01-2511-115/+115
|
* Zap sysdeps directory, moving Config.in and defconfig to top of tree.Gravatar Rob Landley2006-01-201-1/+1
| | | | | (Busybox should not be system dependent enough to have different default configurations for different platforms. We're not a kernel.)
* Make a few warnings go away.Gravatar Rob Landley2005-12-192-4/+4
|