aboutsummaryrefslogtreecommitdiff
path: root/applets
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-26Unbreak allbareconfig. (Todo item: rewrite dependency checker. Yeah, IRob Landley
already have that one, but it moves up the list...)
2006-07-16Cleaup read() and write() variants, plus a couple of new functions likeRob Landley
xlseek and fdlength() for the new mkswap.
2006-06-18skip_whitespace() shouldn't claim its return value is const, it doesn't knowRob Landley
that and callers wind up typecasting it back.
2006-06-07add a --noclobber flagMike Frysinger
2006-06-07add support for cleaning out previous busybox installMike Frysinger
2006-06-07dont install emtpy libdirsMike Frysinger
2006-06-07dont mix tabs and spaces, kthxMike Frysinger
2006-06-02- move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer
and eventual platform specific includes in early.
2006-05-19- remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer
- use shorter boilerplate while at it
2006-05-13pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger
mailing list
2006-05-07Dennis Vlasenko pointed out that run_applet_by_name sets bb_applet_name already.Rob Landley
2006-05-03Rich Felker writes:Rob Landley
mistake in a macro caused statement before declaration.
2006-05-01Fixup a build break if ENABLE_SHOW_USAGE switched off. (Fallout from theRob Landley
compressed usage messages patch).
2006-04-27Patch from Dennis Vlasenko to add the option to compress help text.Rob Landley
2006-03-31- add option to suppress the terse usage messages. Saves 6.8k for defconfig:Bernhard Reutner-Fischer
text data bss dec hex filename 861791 11264 1039140 1912195 1d2d83 busybox.have-terse-usage 854799 11264 1039140 1905203 1d1233 busybox.no-terse
2006-03-24When cross-compiling, the install directory for shared libraries has to comeRob Landley
from gcc (target machine), not uname (host machine).
2006-03-23- correct typoBernhard Reutner-Fischer
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-06Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley
definitions. (That should only be on prototypes.)
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-02-20add s390x to the listMike Frysinger
2006-02-16forgoten new file for 14080 revison"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-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-01-25just whitespaceTim Riker
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-19Update readme and install.sh usage message.Rob Landley
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2005-12-29- use HOSTCC instead of a hardcoded ccBernhard Reutner-Fischer
2005-12-16Stephane Billiart said:Rob Landley
the attached patch makes applet list in busybox.links correctly include tr and watchdog. Currently, they don't appear because they are prefixed with ENABLE_ in include/applets.h
2005-12-15The rest of Yann E. Morin's install revamp.Rob Landley
2005-12-07Macro was wrong, name(void) vs name(x), and apparently gcc 2.95 cares aboutRob Landley
matching up macro arguments even when the macro substitutes to nothing...
2005-10-28- remove warning about "'static' is not at beginning of declaration".Bernhard Reutner-Fischer
2005-10-12show_usage should use bb_default_error_retval.Rob Landley
2005-10-05- remove explicit dependency of busybox.o and applets.o and usage.h from theBernhard Reutner-Fischer
Makefile. Instead fix the invocation of bb_mkdep.
2005-10-05- busybox.o and applets.o depend on usage.hBernhard Reutner-Fischer
2005-09-29busybox.c: ENABLE_LOCALE logic correct."Vladimir N. Oleynik"
2005-09-24use the shorter license headerMike Frysinger
2005-09-24use brief license lineMike Frysinger
2005-09-05remove infinity loop ./busybox --help busybox"Vladimir N. Oleynik"
2005-09-05Fixes so "make allnoconfig" works again.Rob Landley
The configure system's save function edited out sub-menus that wouldn't be displayed in the current configuration, meaning config.h wouldn't have #udef entries for those symbols, meaning bb_config.h would have the relevant ENABLE_ missing instead of defined to 0. This broke the build. So I fixed it, and then reorganized the applets.c and busybox.c to take away the warnings this revealed (code that would be optimized out was making calls to functions that hadn't been prototyped. So I added an #else case to those #ifdefs to #define the relevant functions to empty macros to placate the warnings. I also reorganized the applets.c code to make adding such an #else case less of a pain (and make the need for prototyping go away by moving the functions up before they were used, and generally wind up with fewer #ifdefs in the code by putting all the logic in one place). This resulted in a huge seeming patch, when most if it just moves code from one place to another without touching it... Upside: make allyesconfig and make allnoconfig should both work now.
2005-09-04General cleanup of command line parsing to allow "busybox" to work as a prefix.Rob Landley
(I.E. any argv[0] that starts with "busybox" winds up in busybox_main().) Added testing/busybox.tests which tests the following permutations: ./busybox ./busybox-suffix ./busybox cat ./busybox-suffix cat ./busybox --help ./busybox-suffix --help ./busybox --help cat ./busybox-suffix --help cat ./busybox --help unknown ./busybox-suffix --help unknown ./unknown Also repair the test suite so ./runtest calls the ".tests" scripts properly. Note: you can now go "busybox busybox busbox ls -l" and it'll take it. The new code is pretty generic. I can block that if anybody can come up with a good reason to...
2005-09-01Busybox should only multiplex based on argv[1] when it's called as "busybox".Rob Landley
Otherwise if you build busybox without a given applet you get the wrong error message when you call it via a symlink to that applet. (You also get the wrong behavior; it tries to use argv[1] as the command name just like busybox does for _any_ unknown, and although I doubt "echo rm -rf *" is common usage there's no upside and enough downside to make me nervous.) This fixes it.
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2005-04-22output busybox help to stdout, not stderrMike Frysinger
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor