aboutsummaryrefslogtreecommitdiff
path: root/applets (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Another whack at scripts/individual. Now builds 212 applets.landley2006-08-092-18/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* scripts/individual now builds 171 applets. Some of them may even work. :)landley2006-08-051-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Digging up my old "make standalone" stuff from a year ago:landley2006-08-041-0/+26
| | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@15781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Unbreak allbareconfig. (Todo item: rewrite dependency checker. Yeah, Ilandley2006-07-261-1/+1
| | | | | | | already have that one, but it moves up the list...) git-svn-id: svn://busybox.net/trunk/busybox@15744 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleaup read() and write() variants, plus a couple of new functions likelandley2006-07-161-33/+24
| | | | | | | xlseek and fdlength() for the new mkswap. git-svn-id: svn://busybox.net/trunk/busybox@15703 69ca8d6d-28ef-0310-b511-8ec308f3f277
* skip_whitespace() shouldn't claim its return value is const, it doesn't knowlandley2006-06-181-6/+3
| | | | | | | that and callers wind up typecasting it back. git-svn-id: svn://busybox.net/trunk/busybox@15420 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add a --noclobber flagvapier2006-06-071-2/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15320 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add support for cleaning out previous busybox installvapier2006-06-071-0/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15319 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dont install emtpy libdirsvapier2006-06-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15318 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dont mix tabs and spaces, kthxvapier2006-06-071-13/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15317 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - move #include busybox.h to the very top so we pull in the configaldot2006-06-023-2/+11
| | | | | | | and eventual platform specific includes in early. git-svn-id: svn://busybox.net/trunk/busybox@15267 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove emacs layout block as suggested by Robert P.J. Dayaldot2006-05-191-8/+3
| | | | | | | - use shorter boilerplate while at it git-svn-id: svn://busybox.net/trunk/busybox@15141 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵vapier2006-05-131-1/+1
| | | | | | mailing list git-svn-id: svn://busybox.net/trunk/busybox@15079 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dennis Vlasenko pointed out that run_applet_by_name sets bb_applet_name already.landley2006-05-071-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15021 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rich Felker writes:landley2006-05-031-1/+1
| | | | | | | mistake in a macro caused statement before declaration. git-svn-id: svn://busybox.net/trunk/busybox@14985 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup a build break if ENABLE_SHOW_USAGE switched off. (Fallout from thelandley2006-05-011-24/+3
| | | | | | | compressed usage messages patch). git-svn-id: svn://busybox.net/trunk/busybox@14975 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Dennis Vlasenko to add the option to compress help text.landley2006-04-271-23/+61
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14949 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add option to suppress the terse usage messages. Saves 6.8k for defconfig:aldot2006-03-311-0/+4
| | | | | | | | | | text data bss dec hex filename 861791 11264 1039140 1912195 1d2d83 busybox.have-terse-usage 854799 11264 1039140 1905203 1d1233 busybox.no-terse git-svn-id: svn://busybox.net/trunk/busybox@14713 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When cross-compiling, the install directory for shared libraries has to comelandley2006-03-241-5/+6
| | | | | | | from gcc (target machine), not uname (host machine). git-svn-id: svn://busybox.net/trunk/busybox@14639 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - correct typoaldot2006-03-231-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14629 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert back to r14406aldot2006-03-131-9/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14531 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - backout using features which are not available with the previous stablealdot2006-03-091-2/+6
| | | | | | | version of make (3.71.1). git-svn-id: svn://busybox.net/trunk/busybox@14477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionlandley2006-03-061-1/+1
| | | | | | | definitions. (That should only be on prototypes.) git-svn-id: svn://busybox.net/trunk/busybox@14457 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use absolute path for top_builddir and top_srcdir.aldot2006-03-021-0/+4
| | | | | | | Fixes make trying to include the very same file in an endless loop. git-svn-id: svn://busybox.net/trunk/busybox@14429 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fixes parallel builds (make -j)aldot2006-03-012-16/+7
| | | | | | | - use less resources for the buildsystem itself git-svn-id: svn://busybox.net/trunk/busybox@14407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add s390x to the listvapier2006-02-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14149 69ca8d6d-28ef-0310-b511-8ec308f3f277
* forgoten new file for 14080 revisonvodz2006-02-161-0/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* moved BB_BANNER to applets/version.c file: make kernel like version, vodz2006-02-161-1/+1
| | | | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h git-svn-id: svn://busybox.net/trunk/busybox@14080 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the build system puuuuuuuuuuurtyvapier2006-02-021-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* just whitespacetimr2006-01-251-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add platform.h.aldot2006-01-221-1/+1
| | | | | | | - use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@13494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update readme and install.sh usage message.landley2006-01-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13438 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shared libbusybox.aldot2006-01-154-6/+24
| | | | | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something.. git-svn-id: svn://busybox.net/trunk/busybox@13346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - use HOSTCC instead of a hardcoded ccaldot2005-12-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13015 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stephane Billiart said:landley2005-12-161-1/+1
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@12921 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The rest of Yann E. Morin's install revamp.landley2005-12-151-5/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@12891 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Macro was wrong, name(void) vs name(x), and apparently gcc 2.95 cares aboutlandley2005-12-071-1/+1
| | | | | | | matching up macro arguments even when the macro substitutes to nothing... git-svn-id: svn://busybox.net/trunk/busybox@12715 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove warning about "'static' is not at beginning of declaration".aldot2005-10-281-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11947 69ca8d6d-28ef-0310-b511-8ec308f3f277
* show_usage should use bb_default_error_retval.landley2005-10-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11853 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove explicit dependency of busybox.o and applets.o and usage.h from thealdot2005-10-051-1/+1
| | | | | | | Makefile. Instead fix the invocation of bb_mkdep. git-svn-id: svn://busybox.net/trunk/busybox@11774 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - busybox.o and applets.o depend on usage.haldot2005-10-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11769 69ca8d6d-28ef-0310-b511-8ec308f3f277
* busybox.c: ENABLE_LOCALE logic correct.vodz2005-09-291-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11687 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use the shorter license headervapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use brief license linevapier2005-09-241-15/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11618 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove infinity loop ./busybox --help busyboxvodz2005-09-051-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11330 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixes so "make allnoconfig" works again.landley2005-09-052-145/+133
| | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@11324 69ca8d6d-28ef-0310-b511-8ec308f3f277
* General cleanup of command line parsing to allow "busybox" to work as a prefix.landley2005-09-042-123/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (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... git-svn-id: svn://busybox.net/trunk/busybox@11322 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Busybox should only multiplex based on argv[1] when it's called as "busybox".landley2005-09-011-4/+0
| | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@11301 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use toplevel ARFLAGS and update default ARFLAGS to be quietvapier2005-07-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10923 69ca8d6d-28ef-0310-b511-8ec308f3f277
* output busybox help to stdout, not stderrvapier2005-04-221-12/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@10150 69ca8d6d-28ef-0310-b511-8ec308f3f277