aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
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 :)
2005-10-07trim dep lines"Vladimir N. Oleynik"
2005-10-07- fix bug #94: 'make install' does not respect PREFIX nor CROSS when using O=Bernhard Reutner-Fischer
- other minor cosmetic tweaks while at it
2005-10-06- support make check V=1 to run the checks in verbose modeBernhard Reutner-Fischer
- pass verbose from runtest to testing.sh
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- fix generation of .depend when building out of tree.Bernhard Reutner-Fischer
point bb_mkdep to the source directory and not the build-directory.
2005-10-05- fix building out-of-tree;Bernhard Reutner-Fischer
to test, checkout the source (let's assume /scratch/src/busybox), then mkdir /tmp/bb ; cd /tmp/bb make top_srcdir=/scratch/src/busybox O="$(pwd)" -f /scratch/src/busybox/Makefile allyesconfig check - default to O=$(pwd) if no O was specified. Now you can just specify the top_srcdir (without O=/somewhere) to create the obj-tree in pwd. - make "make configtarget buildtarget" work. Previously this didn't work due to how HAVE_DOT_CONFIG was evaluated. Two separate steps were needed before, e.g. make config ; make busybox. - remove some unneeded variables from Rules.mak (BB_SRC_DIR from Mr. ldoolitt@recycle.lbl) which suggest that the stuff fixed above didn't work before. - move selinux libraries to where they belong (from Makefile to Rules.mak) - update the docs to mention svn instead of cvs and provide an example for building out-of-tree in INSTALL.
2005-09-27pass EXTRA_CFLAGS to final link since it may contain things that affect ↵Mike Frysinger
linking (such as -m32)
2005-09-26- remove unused variable TOPDIRBernhard Reutner-Fischer
2005-09-26add "make help"Rob Landley
2005-09-25this should fix parallel building with .depend/bb_config.hMike Frysinger
2005-09-24fix parallel building againMike Frysinger