aboutsummaryrefslogtreecommitdiff
path: root/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* - add cross-reference generation target.aldot2006-06-161-1/+13
| | | | | | | Experimental. git-svn-id: svn://busybox.net/trunk/busybox@15410 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - let the scripts be prerequisites of the files the generatealdot2006-06-151-2/+2
| | | | | | | - make sure that bbconfig isn't too stupid git-svn-id: svn://busybox.net/trunk/busybox@15398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix from Paul Fox to make compressed help text notice config changes.landley2006-06-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15366 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make VERBOSE= and V= work equally; use BUILD_VERBOSE internally.aldot2006-06-131-44/+41
| | | | | | | - move the link flags to cmd_link* so they are printed when requesting verbose output git-svn-id: svn://busybox.net/trunk/busybox@15365 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - don't check for toolchain-setting for make targets that don't need themaldot2006-06-101-1/+3
| | | | | | | | - we already depend on sed, so do away with tr. Avoids pulling in yet another dependency. git-svn-id: svn://busybox.net/trunk/busybox@15358 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put the ending quote on the help entry...landley2006-05-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15207 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Consolidate the .PHONY targets and add "make baseline" for bloatcheck.landley2006-05-271-10/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15201 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add target hosttools (see make help)aldot2006-05-261-9/+25
| | | | | | | | | - rename check_gcc to check_cc and pass the CC to use as arg#1; peruse check_cc for HOSTCFLAGS - add and use check_strip - add checks for {,no-}whole-archive and {start,end}-group LD flags git-svn-id: svn://busybox.net/trunk/busybox@15185 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix wrong path to scripts/usage; It is in the builddir and not in the srcdir.aldot2006-05-211-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | - flag .depend as .NOTPARALLEL to workaround bug in make-3.80 and make-3.81 Some more details on the second workaround (i.e. kludge): make-3.80 silently fails, while make-3.81 is at least self-conscious enough to admit: include/usage_compressed.h: .config scripts/usage # Implicit rule search has not been done. # File does not exist. # File has not been updated. # Dependencies commands running (THIS IS A BUG). # commands to execute (from `/home/cow/src/bb2/Makefile', line 430): $(Q)$(SHELL) $(top_srcdir)/scripts/usage_compressed "$(top_builddir)/scripts" > $@ I'm giving up on trying to run the rest of the prerequisites of .depend in parallel and just (try to) indicate that the prerequisites of .depend are not to be run in parallel. While this makes `make distclean defconfig;make -j´ work for me, it is not a real -- longterm -- solution; FIXME git-svn-id: svn://busybox.net/trunk/busybox@15154 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - there is no _usage.h anymore, so don't rm it in distclean.aldot2006-05-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15152 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not setaldot2006-05-211-3/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15151 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - there is no "sh". Use $(SHELL)aldot2006-05-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15150 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - forgot to make busybox_unstripped depend on the applets in IMA mode.aldot2006-05-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15140 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - redirect stdout of scripts/config/conf to /nil foraldot2006-05-191-8/+8
| | | | | | | | allyesconfig, allnoconfig, defconfig, allbareconfig - fix invalid call to "make"; use $(MAKE) instead. git-svn-id: svn://busybox.net/trunk/busybox@15138 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tabs weren't lining up in the help text.landley2006-05-111-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15071 69ca8d6d-28ef-0310-b511-8ec308f3f277
* clean more filesvapier2006-05-101-3/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15045 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fix bug in make help introduced by landley in r15022:aldot2006-05-091-1/+1
| | | | | | | | | | | | | Development: bloatcheck - show size difference between busybox_unstripped /bin/sh: -c: line 0: unexpected EOF while looking for matching `'' /bin/sh: -c: line 1: syntax error: unexpected end of file make[1]: *** [help] Error 2 make: *** [help] Error 2 git-svn-id: svn://busybox.net/trunk/busybox@15042 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make bloatcheck work when building out of tree.landley2006-05-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15039 69ca8d6d-28ef-0310-b511-8ec308f3f277
* re-enable udhcp in a few more placesvapier2006-05-081-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15032 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add "make bloatcheck" to run Matt Mackall's bloat-o-meter. Copy an oldlandley2006-05-071-0/+5
| | | | | | | | busybox_unstripped to busybox_old, build a new version, and "make bloatcheck" to see a detailed breakdown of the size difference. git-svn-id: svn://busybox.net/trunk/busybox@15022 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Busybox's udhcp was deleted a while ago. Bolting an external project onto thelandley2006-05-051-1/+1
| | | | | | | tree doesn't change that. git-svn-id: svn://busybox.net/trunk/busybox@15010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - add script to check for missing help entries of config optionsaldot2006-05-041-0/+5
| | | | | | | | | | | | | | Currently we have these errors: ./modutils/Config.in: No helptext for 'CONFIG_FEATURE_QUERY_MODULE_INTERFACE' ./networking/Config.in: No helptext for 'CONFIG_IPADDR' ./networking/Config.in: No helptext for 'CONFIG_IPLINK' ./networking/Config.in: No helptext for 'CONFIG_IPROUTE' ./networking/Config.in: No helptext for 'CONFIG_IPTUNNEL' ./coreutils/Config.in: No helptext for 'CONFIG_UNIX2DOS' git-svn-id: svn://busybox.net/trunk/busybox@14991 69ca8d6d-28ef-0310-b511-8ec308f3f277
* compile.h is incorrect; create a new do_link.h and use that for bb_mkdep and ↵vapier2006-04-291-2/+2
| | | | | | usage git-svn-id: svn://busybox.net/trunk/busybox@14960 69ca8d6d-28ef-0310-b511-8ec308f3f277
* use pretty output for scripts/bb_mkdep and scripts/usagevapier2006-04-291-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14959 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Dennis Vlasenko to add the option to compress help text.landley2006-04-271-0/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14949 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Denis Vlasenko to make sizes PHONY and to add objsizes which printsaldot2006-04-261-0/+6
| | | | | | | the sizes of the individual object files. git-svn-id: svn://busybox.net/trunk/busybox@14943 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 2006-04-20 Shaun Jackman <sjackman@gmail.com>vapier2006-04-211-0/+3
| | | | | | | | * Makefile: Build a bFLT binary. * Rules.mak: Ditto. git-svn-id: svn://busybox.net/trunk/busybox@14931 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make sure that we see all lib*/.c in IMA-mode even when not building the .soaldot2006-04-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tweak allbareconfig not to pause.landley2006-03-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Willy Tarreau writes:andersen2006-03-201-1/+1
| | | | | | | | | I encountered a little typo in 'make help' : the prefix was noted "$prefix" instead of "$(PREFIX)". git-svn-id: svn://busybox.net/trunk/busybox@14582 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove superfluous dependency which was fixed in r14527aldot2006-03-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14532 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - revert back to r14406aldot2006-03-131-128/+103
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14531 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "make help" should not build the configurator first.landley2006-03-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14528 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix "rm .config;make menuconfig" to work like "rm .config; make" (I.E. dolandley2006-03-131-1/+2
| | | | | | | defconfig first), and group busybox administrative settings into a sub-menu. git-svn-id: svn://busybox.net/trunk/busybox@14527 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup from Paul Fox. One find piped to xargs is faster/simpler thanlandley2006-03-091-7/+3
| | | | | | | lots of finds doing individual -exec rm. git-svn-id: svn://busybox.net/trunk/busybox@14495 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - backout using features which are not available with the previous stablealdot2006-03-091-89/+33
| | | | | | | version of make (3.71.1). git-svn-id: svn://busybox.net/trunk/busybox@14477 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - work around missing features and bugs in make-3.79.1:aldot2006-03-061-8/+22
| | | | | | | | | | | | - 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* git-svn-id: svn://busybox.net/trunk/busybox@14454 69ca8d6d-28ef-0310-b511-8ec308f3f277
* clean *.osm as pointed out by Robert P. J. Dayvapier2006-03-051-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14453 69ca8d6d-28ef-0310-b511-8ec308f3f277
* clean busybox_unstripped as pointed out by Robert P. J. Dayvapier2006-03-051-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14452 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - ar cruP doesn't replace ('r') but unconditionally _adds_ all objects.aldot2006-03-031-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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, git-svn-id: svn://busybox.net/trunk/busybox@14435 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - remove unused lists *-maldot2006-03-021-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14432 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - make sure applets.o is rebuilt when the .config changes.aldot2006-03-021-1/+1
| | | | | | | | | | | | | - 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 git-svn-id: svn://busybox.net/trunk/busybox@14431 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - allow for make /path/to/dir/file.oaldot2006-03-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14430 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Denis Vlasenko writes: make sizes was rebuilding busybox - unstripped one!aldot2006-03-021-7/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14425 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - fixes parallel builds (make -j)aldot2006-03-011-141/+206
| | | | | | | - use less resources for the buildsystem itself git-svn-id: svn://busybox.net/trunk/busybox@14407 69ca8d6d-28ef-0310-b511-8ec308f3f277
* defconfig shouldn't enable CONFIG_INSTALL_NO_USR, and while we're at itlandley2006-02-281-5/+4
| | | | | | | | remove residue of old defconfig and tweak "make with no config" to run defconfig before bringing up menuconfig. git-svn-id: svn://busybox.net/trunk/busybox@14347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* kill all .depend filesvapier2006-02-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* hide bb_mkdep buildvapier2006-02-181-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@14118 69ca8d6d-28ef-0310-b511-8ec308f3f277
* 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