aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2006-04-29compile.h is incorrect; create a new do_link.h and use that for bb_mkdep and ↵Mike Frysinger
usage
2006-04-29use pretty output for scripts/bb_mkdep and scripts/usageMike 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-212006-04-20 Shaun Jackman <sjackman@gmail.com>Mike Frysinger
* Makefile: Build a bFLT binary. * Rules.mak: Ditto.
2006-04-03- make sure that we see all lib*/.c in IMA-mode even when not building the .soBernhard Reutner-Fischer
2006-03-22Tweak allbareconfig not to pause.Rob Landley
2006-03-20Willy Tarreau writes:Eric Andersen
I encountered a little typo in 'make help' : the prefix was noted "$prefix" instead of "$(PREFIX)".
2006-03-13- remove superfluous dependency which was fixed in r14527Bernhard Reutner-Fischer
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-13"make help" should not build the configurator first.Rob Landley
2006-03-13Fix "rm .config;make menuconfig" to work like "rm .config; make" (I.E. doRob Landley
defconfig first), and group busybox administrative settings into a sub-menu.
2006-03-09Cleanup from Paul Fox. One find piped to xargs is faster/simpler thanRob Landley
lots of finds doing individual -exec rm.
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-06- work around missing features and bugs in make-3.79.1:Bernhard Reutner-Fischer
- no order-only prerequisites; incomplete workaround (see comment in diff) - no internal variable MAKEFILE_LIST; workaround - define bar\nfoo:=<long-list> doesn't work; workaround also: - reinstate clean, distclean as noconfig_target. - unconditionally clean libbusybox.so*
2006-03-05clean *.osm as pointed out by Robert P. J. DayMike Frysinger
2006-03-05clean busybox_unstripped as pointed out by Robert P. J. DayMike Frysinger
2006-03-03- ar cruP doesn't replace ('r') but unconditionally _adds_ all objects.Bernhard Reutner-Fischer
landley, that one broke your tar-testing (see below). To see the issue i was talking about in the comment to rev. 14431, remove the 'P' from ARFLAGS in Rules.mak, then recompile. You will see undefined references to these symbols: iplink_main iproute_main iptunnel_main login_main run_parts_main These are due to the fact that these applets (named e.g. login.o) clash with libbb/login.o, for example. So ar sees that we're going to add login.o (the applet!) and does so. Later on, we add libbb/login.o (just the basename is used, so login.o). and this libbb/login.o *replaces* the login.o (the applet!). I therefor want (you) to rename abovementioned files from libbb to have a prefix bb_ (e.g. svn mv libbb/login.c libbb/bb_login.c) to avoid these clashed. ok? TIA,
2006-03-02- remove unused lists *-mBernhard Reutner-Fischer
2006-03-02- make sure applets.o is rebuilt when the .config changes.Bernhard Reutner-Fischer
- don't overwrite objects in the archive. Affected applets with name-clash mostly vs. libbb: iplink_main iproute_main iptunnel_main login_main run_parts_main
2006-03-02- allow for make /path/to/dir/file.oBernhard Reutner-Fischer
2006-03-02Denis Vlasenko writes: make sizes was rebuilding busybox - unstripped one!Bernhard Reutner-Fischer
2006-03-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-02-28defconfig shouldn't enable CONFIG_INSTALL_NO_USR, and while we're at itRob Landley
remove residue of old defconfig and tweak "make with no config" to run defconfig before bringing up menuconfig.
2006-02-18kill all .depend filesMike Frysinger
2006-02-18hide bb_mkdep buildMike Frysinger
2006-02-15full removed config.h, use bb_config.h only"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-08Help text update and tweak to defconfig to remove two more things thatRob Landley
the "maximum sane configuration" shouldn't have. (Explicit MTAB support in mount, which you should only need if you have no /proc, and FEATURE_CLEAN_UP, which exists to humor valgrind and otherwise just bloats the code).
2006-02-05if the .pl script gets updated, force doc regenMike Frysinger
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger
2006-01-31- pass -static via CC rather than LDBernhard Reutner-Fischer
2006-01-31Turn defconfig into what make allyesconfig is today. Turn allyesconfigRob Landley
back into allyesconfig. (Memo: apparently SELINUX doesn't compile anymore.) Make defconfig shouldn't switch on libbusybox.so, but allyesconfig does.
2006-01-30Move SUSv2 obsolete feature disabling to debug menu, invert meaning ofRob Landley
symbol (switched on to remove now: test your apps to make sure they _don't_ do this, because as some point we should just yank it), fixup head/tail/fold. Also tweak "make allyesconfig" so anything starting with CONFIG_DEBUG gets left switched off. Possibly other things we want to put in the debug menu?
2006-01-27- add a macro to check for ld and as flagsBernhard Reutner-Fischer
Very unreliable as e.g the ld check will see the flags supported by each emulation, not just the active one. good enough for now.. Fix would be to crate one or more dummy .c files and accually try if a flag works.
2006-01-25- Simplify the prereq and add more documentation.Bernhard Reutner-Fischer
- Fix regex for allyesconfig.
2006-01-24- Turn off combine for allyesconfig and allbareconfig.Bernhard Reutner-Fischer
The user ought to explicitely request this.
2006-01-23Oops, restore tabs"Vladimir N. Oleynik"
2006-01-23cleanup (dist)clean logic"Vladimir N. Oleynik"
2006-01-22- add platform.h.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
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.)
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2006-01-13- turn off "nc gaping hole" and devfsd in allbareconfig, the latter doesn'tBernhard Reutner-Fischer
use the FEATURE notation and noone will update it to use it.
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-02Install links patch from Yann E. Morin. (Another thing hanging around in myRob Landley
tree forever. Tweaked the docs a bit.)
2005-10-25Two changes. One from Shaun Jackman makes libbb/interface.c compile only ifRob Landley
it's going to be used. (I'm guessing it doesn't work with newlib.) The other one is from me: allyesconfig shouldn't enable devfs because that changes all sorts of unrelated stuff (like /dev/loop0->dev/loop/0), which can come as a bit of a surprise. (It's still there, but you have to go into menuconfig and select it manually.)
2005-10-13- split VERSION into partsBernhard Reutner-Fischer
- add some filesystem operation wrapper variables for use in the makefiles and pull them in early in the toplevel makefile - use the cross-toolchain for "make sizes"
2005-10-09- remove passing PREFIX and CROSS to make which was added for bug #94.Bernhard Reutner-Fischer
My recent Makefile touch-up assures that make O=/tmp/o PREFIX=/tmp/i install works as expected without this ugly workaround.
2005-10-08- rename bareconfig to allbareconfig and emit "is not set" strings needed forBernhard Reutner-Fischer
oldconfig.
2005-10-07- add config target bareconfig. Enables all applets but without any features.Bernhard Reutner-Fischer
Rob wanted to have regression tests if a bug crops up. Here you are wrt find :)