aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
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
2005-09-24make test an alias for checkMike Frysinger
2005-09-21moved include/bbconfigopts.h from miscutils to to top Makefile before ↵"Vladimir N. Oleynik"
generate .depend. Remove allyesconfig build problem, noticed by Bernhard Fischer
2005-09-20The testsuite/links directory wasn't being created.Rob Landley
2005-09-19corect build bbconfig applet, Thanks, Bernhard Fischer"Vladimir N. Oleynik"
2005-09-12new my scripts/mm_mkdep, dependences work now"Vladimir N. Oleynik"
2005-09-11This combines a patch from Bernhard Fischer (moving the clean ofRob Landley
scripts/config from distclean to clean) with a sed consolidation that's been in my tree for a bit, and switching the GPL boilerplate to just point at LICENSE.
2005-09-02Working on a new test harness. Moved the sort tests into it.Rob Landley
2005-09-01Bernhard Fischer sent a patch to make "make sizes" work when building inRob Landley
another output directory.
2005-08-28Dumb little hack, "make sizes". Try it.Rob Landley
2005-08-24Bernhard Fischer submitted a couple of Makefile patches:Rob Landley
- Fix building out-of-tree - remove duplicate rule in toplevel Makefile - peruse make's builtin notion of `dirname $@'
2005-08-17When doing 'make release' nuke the .svn directories, not theEric Andersen
CVS dirs (since they are no longer present)
2005-08-11make sure distclean punts include/bbconfigopts.hMike Frysinger