aboutsummaryrefslogtreecommitdiff
path: root/Makefile.custom (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'busybox' into mergeRon Yorston2025-08-151-2/+2
|\
| * docs: Add links to cmd description from cmd listNoelle Leigh2025-08-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the generated `docs/busybox.pod` file, add a link for each command in the big command list that goes to that command's description, like a compact table of contents. This seems to only affect the generated HTML version of the usage page. To add `id` attributes to each usage section title, each command now uses `=head2` instead of `=item` for their section heading. To add links to each command in the list, the list was unindented so that it could use rich text, and each command was marked as code text (C<>) so they are styled in monospace. These changes mean that the HTML and mandoc command list will expand to fit the available width of the viewport, rather than wrapping at a fixed line-length. The plain text version retains its existing wrapping behavior. Because of the new code text formatting, `--quotes=none` was added to the pod2man and pod2text invocations in Makefile.custom to prevent the command list from quoting every single command. Signed-off-by: Noelle Leigh <noelle@noelle.dev> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | build system: add support for 'make bloatcheck'Ron Yorston2021-03-101-11/+11
|/ | | | Plus a few other make targets that make measurements on the binary.
* applets/install: don't try to install nothingYann E. MORIN2018-04-151-0/+3
| | | | | | | | | | | | | | | | | Commit 952d5a6024e7 (applets/install: accept more than one install option) changed the way we handle install options: before that commit, a missing install type would mean to install nothing; after, we would iterate over options, so we would never notice there was a mising option. Fix that by introducing an explicit --none option to specify to install nothing. Reported-by: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Aaro Koskinen <aaro.koskinen@iki.fi> Cc: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* build system: add rule to install without cloberring existing utilitiesYann E. MORIN2018-01-041-0/+3
| | | | | Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* applets: Add installation of individual binariesClayton Shotwell2015-07-011-0/+4
| | | | | | | | Adding support to install individual binaries if the option is enabled. This also installs the shared libbusybox.so.* library. Signed-off-by: Clayton Shotwell <clshotwe@rockwellcollins.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* unit-tests: implement the unit-testing frameworkBartosz Golaszewski2014-06-221-0/+4
| | | | | | | | | | | | | | This set of patches adds a simple unit-testing framework to Busybox unit-tests: add some helper macros for unit-test framework implementation unit-tests: implement the unit-testing framework unit-tests: add basic documentation on writing the unit test cases unit-tests: modify the Makefile 'test' target to run unit-tests too unit-tests: add two example test cases unit-tests: modify the existing strrstr test code to use the unit-test framework Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Makefile.custom: make "make release" delete .gitignore files tooDenys Vlasenko2013-11-021-0/+4
| | | | | Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* buildsys: Add helper to list suid appletsBernhard Reutner-Fischer2013-07-261-1/+6
| | | | | | | | | | | | | Add a helper script that lists all applets that - do or may require SUID provileges (busybox.cfg.suid) - do not require SUID provileges (busybox.cfg.nosuid) Some setups prefer to build two busybox binaries, one that is suid which contains all applets that do or may require suid privileges, and a second one for all the rest (which drops suid). To ease splitting these two binaries, generate a list of CONFIG_ items for the suid binary. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* correct manpage nameDenys Vlasenko2010-10-241-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* doc: remove trailing empty lineBernhard Reutner-Fischer2010-07-291-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* make it possible to keep usage texts in .c filesDenys Vlasenko2010-06-061-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* make it possible to have include/applets.h-esque entries in .c filesDenys Vlasenko2010-06-061-1/+1
| | | | | | As an example, bunzip2 and bzcat is changed to use it. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* "make release" should delete .git directory tooDenys Vlasenko2010-03-281-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Fixes to usage text; updated busybox.specDenys Vlasenko2009-10-021-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Update documentation generator so that it sucks lessDenys Vlasenko2009-10-021-8/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix DOC build output to be like kbuild standardMike Frysinger2009-03-301-2/+4
|
* - print the documentation per defaultBernhard Reutner-Fischer2008-08-211-0/+4
|
* fix "make bigdata" to not show weak aliasesDenis Vlasenko2008-05-201-1/+1
|
* build system: use POSIX options only for cpDenis Vlasenko2008-04-111-2/+3
| | | | | cp: improve comment
* fix "make check"Denis Vlasenko2008-04-101-2/+6
|
* attack the biggest stack users:Denis Vlasenko2007-12-021-1/+1
| | | | | | | | | | | | | | | | | -mkfs_minix_main [busybox_unstripped]: 4288 -mkfs_minix_main [busybox_unstripped]: 4276 -grave [busybox_unstripped]: 4260 (bzip2 users too - not listed) price we pay in code size increase: mainSort 2458 2515 +57 grave 1005 1058 +53 sendMTFValues 2177 2195 +18 BZ2_blockSort 122 125 +3 mkfs_minix_main 3070 3022 -48 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 4/1 up/down: 131/-48) Total: 83 bytes
* support "#!/bin/busybox"-style wrappers. Needed for SELinux.Denis Vlasenko2007-08-251-0/+11
| | | | | Patch by Yuichi Nakamura <ynakam@hitachisoft.jp>
* random shrinkage of statics, -60 bytes savedDenis Vlasenko2007-06-211-0/+1
|
* punt %.bflt target in favor of proper LDFLAGS=-Wl,-elf2flt handlingMike Frysinger2007-06-191-3/+0
|
* add script which measures stack consumption.Denis Vlasenko2007-06-101-1/+5
| | | | | | | | | | | | | | | | Current top users: 0x08052f52 uncompress []: 393312 0x080c8a58 input_tab []: 82104 0x08092d5b ifaddrlist []: 32828 0x08056163 loadfont_main []: 32796 0x0806e508 colon []: 16532 0x08056095 do_loadfont []: 16400 0x0806da70 place_cursor []: 16388 0x080792e8 login_main []: 9176 393 kb of stack??? OMG...
* allow people to stick custom things into Makefile.local so they dont need to ↵Mike Frysinger2007-05-021-0/+2
| | | | update busybox files while integrating into other build systems (like uClinux-dist)
* - the testharness needs busybox.links. Now the new foobar.tests work againBernhard Reutner-Fischer2007-01-271-2/+2
|
* build system: small fix for "release" target to workDenis Vlasenko2006-12-121-4/+4
|
* build system: add "release" targetDenis Vlasenko2006-12-121-0/+16
| | | | find: support -size N (needed for above)
* - remove a warning that was not ment to be checked in.Bernhard Reutner-Fischer2006-12-061-1/+0
|
* - better distinction between CFLAGS and CPPFLAGS.Bernhard Reutner-Fischer2006-12-061-1/+13
|
* - adjust to kernel's build infrastructure.Bernhard Reutner-Fischer2006-12-061-3/+3
|
* passwd: small size optimization. salt generation improvedDenis Vlasenko2006-11-301-0/+4
| | | | (really generated different salts even if called back-to-back).
* - reinstate "make checkhelp"Bernhard Reutner-Fischer2006-11-221-3/+4
|
* - Set INSTALL_OPTS according to the config.Bernhard Reutner-Fischer2006-11-171-0/+6
|
* - fix generation of the busybox.links install script inputfileBernhard Reutner-Fischer2006-11-171-1/+1
|
* build system: (try to) get rid of bb_config.h hackDenis Vlasenko2006-10-191-1/+1
|
* build system: fix for non-i386 buildsDenis Vlasenko2006-10-091-27/+3
|
* fixing build system overhaul fallout...Denis Vlasenko2006-10-051-1/+1
|
* build system overhaulDenis Vlasenko2006-10-051-0/+131