aboutsummaryrefslogtreecommitdiff
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* full removed config.h, use bb_config.h onlyvodz2006-02-151-13/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New USE() macroslandley2006-02-131-16/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@13955 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Help text update and tweak to defconfig to remove two more things thatlandley2006-02-081-6/+7
| | | | | | | | | 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). git-svn-id: svn://busybox.net/trunk/busybox@13879 69ca8d6d-28ef-0310-b511-8ec308f3f277
* if the .pl script gets updated, force doc regenvapier2006-02-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13855 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make the build system puuuuuuuuuuurtyvapier2006-02-021-30/+33
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13793 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - pass -static via CC rather than LDaldot2006-01-311-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13754 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Turn defconfig into what make allyesconfig is today. Turn allyesconfiglandley2006-01-311-2/+8
| | | | | | | | | back into allyesconfig. (Memo: apparently SELINUX doesn't compile anymore.) Make defconfig shouldn't switch on libbusybox.so, but allyesconfig does. git-svn-id: svn://busybox.net/trunk/busybox@13743 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move SUSv2 obsolete feature disabling to debug menu, invert meaning oflandley2006-01-301-1/+1
| | | | | | | | | | | 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? git-svn-id: svn://busybox.net/trunk/busybox@13692 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add a macro to check for ld and as flagsaldot2006-01-271-2/+1
| | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@13638 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Simplify the prereq and add more documentation.aldot2006-01-251-41/+41
| | | | | | | - Fix regex for allyesconfig. git-svn-id: svn://busybox.net/trunk/busybox@13603 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - Turn off combine for allyesconfig and allbareconfig.aldot2006-01-241-2/+2
| | | | | | | The user ought to explicitely request this. git-svn-id: svn://busybox.net/trunk/busybox@13566 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops, restore tabsvodz2006-01-231-17/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13500 69ca8d6d-28ef-0310-b511-8ec308f3f277
* cleanup (dist)clean logicvodz2006-01-231-20/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@13499 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add platform.h.aldot2006-01-221-2/+11
| | | | | | | - use shorter boilerplate while at it. git-svn-id: svn://busybox.net/trunk/busybox@13494 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Zap sysdeps directory, moving Config.in and defconfig to top of tree.landley2006-01-201-2/+2
| | | | | | | | (Busybox should not be system dependent enough to have different default configurations for different platforms. We're not a kernel.) git-svn-id: svn://busybox.net/trunk/busybox@13452 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shared libbusybox.aldot2006-01-151-18/+110
| | | | | | | | - 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
* - turn off "nc gaping hole" and devfsd in allbareconfig, the latter doesn'taldot2006-01-131-1/+1
| | | | | | | use the FEATURE notation and noone will update it to use it. git-svn-id: svn://busybox.net/trunk/busybox@13268 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
* Install links patch from Yann E. Morin. (Another thing hanging around in mylandley2005-12-021-8/+4
| | | | | | | tree forever. Tweaked the docs a bit.) git-svn-id: svn://busybox.net/trunk/busybox@12647 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Two changes. One from Shaun Jackman makes libbb/interface.c compile only iflandley2005-10-251-1/+1
| | | | | | | | | | | | 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.) git-svn-id: svn://busybox.net/trunk/busybox@11912 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - split VERSION into partsaldot2005-10-131-1/+6
| | | | | | | | | - 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" git-svn-id: svn://busybox.net/trunk/busybox@11856 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove passing PREFIX and CROSS to make which was added for bug #94.aldot2005-10-091-2/+0
| | | | | | | | My recent Makefile touch-up assures that make O=/tmp/o PREFIX=/tmp/i install works as expected without this ugly workaround. git-svn-id: svn://busybox.net/trunk/busybox@11820 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - rename bareconfig to allbareconfig and emit "is not set" strings needed foraldot2005-10-081-5/+8
| | | | | | | oldconfig. git-svn-id: svn://busybox.net/trunk/busybox@11808 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add config target bareconfig. Enables all applets but without any features.aldot2005-10-071-2/+8
| | | | | | | Rob wanted to have regression tests if a bug crops up. Here you are wrt find :) git-svn-id: svn://busybox.net/trunk/busybox@11803 69ca8d6d-28ef-0310-b511-8ec308f3f277
* trim dep linesvodz2005-10-071-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11800 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix bug #94: 'make install' does not respect PREFIX nor CROSS when using O=aldot2005-10-071-21/+27
| | | | | | | - other minor cosmetic tweaks while at it git-svn-id: svn://busybox.net/trunk/busybox@11796 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - support make check V=1 to run the checks in verbose modealdot2005-10-061-1/+11
| | | | | | | - pass verbose from runtest to testing.sh git-svn-id: svn://busybox.net/trunk/busybox@11787 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
* - fix generation of .depend when building out of tree.aldot2005-10-051-1/+1
| | | | | | | point bb_mkdep to the source directory and not the build-directory. git-svn-id: svn://busybox.net/trunk/busybox@11770 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix building out-of-tree;aldot2005-10-051-69/+76
| | | | | | | | | | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@11762 69ca8d6d-28ef-0310-b511-8ec308f3f277
* pass EXTRA_CFLAGS to final link since it may contain things that affect ↵vapier2005-09-271-1/+1
| | | | | | linking (such as -m32) git-svn-id: svn://busybox.net/trunk/busybox@11660 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove unused variable TOPDIRaldot2005-09-261-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11653 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add "make help"landley2005-09-261-0/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11652 69ca8d6d-28ef-0310-b511-8ec308f3f277
* this should fix parallel building with .depend/bb_config.hvapier2005-09-251-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11641 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix parallel building againvapier2005-09-241-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11621 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make test an alias for checkvapier2005-09-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11614 69ca8d6d-28ef-0310-b511-8ec308f3f277
* moved include/bbconfigopts.h from miscutils to to top Makefile before ↵vodz2005-09-211-1/+10
| | | | | | generate .depend. Remove allyesconfig build problem, noticed by Bernhard Fischer git-svn-id: svn://busybox.net/trunk/busybox@11533 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The testsuite/links directory wasn't being created.landley2005-09-201-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11510 69ca8d6d-28ef-0310-b511-8ec308f3f277
* corect build bbconfig applet, Thanks, Bernhard Fischervodz2005-09-191-6/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11505 69ca8d6d-28ef-0310-b511-8ec308f3f277
* new my scripts/mm_mkdep, dependences work nowvodz2005-09-121-21/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11425 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This combines a patch from Bernhard Fischer (moving the clean oflandley2005-09-111-18/+3
| | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@11423 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Working on a new test harness. Moved the sort tests into it.landley2005-09-021-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11313 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer sent a patch to make "make sizes" work when building inlandley2005-09-011-2/+3
| | | | | | | another output directory. git-svn-id: svn://busybox.net/trunk/busybox@11304 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dumb little hack, "make sizes". Try it.landley2005-08-281-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11276 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer submitted a couple of Makefile patches:landley2005-08-241-8/+6
| | | | | | | | | | - Fix building out-of-tree - remove duplicate rule in toplevel Makefile - peruse make's builtin notion of `dirname $@' git-svn-id: svn://busybox.net/trunk/busybox@11234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* When doing 'make release' nuke the .svn directories, not theandersen2005-08-171-1/+1
| | | | | | | CVS dirs (since they are no longer present) git-svn-id: svn://busybox.net/trunk/busybox@11174 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make sure distclean punts include/bbconfigopts.hvapier2005-08-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11111 69ca8d6d-28ef-0310-b511-8ec308f3f277
* In bb_config.h, replace AUTOCONF_INCLUDED guard with the more reasonable andlandley2005-08-021-1/+1
| | | | | | | | | | | | | obvious (and less side-effect prone in strange build environments) BB_CONFIG_H. Yeah, I know Erik ripped it out of our copy of menuconfig (which is a good thing), but that doesn't fix people whose headers have it inherited from linux-kernel headers or old versions of uclibc, and Erik's fix could easily get forgotten and reverted the next time we update menuconfig anyway... git-svn-id: svn://busybox.net/trunk/busybox@11023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix bbconfigopts.h dependvapier2005-08-011-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11012 69ca8d6d-28ef-0310-b511-8ec308f3f277
* screw around with whitespacevapier2005-08-011-16/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@11011 69ca8d6d-28ef-0310-b511-8ec308f3f277