aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2006-05-26- add target hosttools (see make help)Bernhard Reutner-Fischer
- 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
2006-05-21- fix wrong path to scripts/usage; It is in the builddir and not in the srcdir.Bernhard Reutner-Fischer
- 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
2006-05-21- there is no _usage.h anymore, so don't rm it in distclean.Bernhard Reutner-Fischer
2006-05-21- do not create usage_compressed.h if CONFIG_FEATURE_COMPRESS_USAGE is not setBernhard Reutner-Fischer
2006-05-21- there is no "sh". Use $(SHELL)Bernhard Reutner-Fischer
2006-05-19- forgot to make busybox_unstripped depend on the applets in IMA mode.Bernhard Reutner-Fischer
2006-05-19- redirect stdout of scripts/config/conf to /nil forBernhard Reutner-Fischer
allyesconfig, allnoconfig, defconfig, allbareconfig - fix invalid call to "make"; use $(MAKE) instead.
2006-05-11Tabs weren't lining up in the help text.Rob Landley
2006-05-10clean more filesMike Frysinger
2006-05-09- fix bug in make help introduced by landley in r15022:Bernhard Reutner-Fischer
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
2006-05-08Make bloatcheck work when building out of tree.Rob Landley
2006-05-08re-enable udhcp in a few more placesMike Frysinger
2006-05-07Add "make bloatcheck" to run Matt Mackall's bloat-o-meter. Copy an oldRob Landley
busybox_unstripped to busybox_old, build a new version, and "make bloatcheck" to see a detailed breakdown of the size difference.
2006-05-05Busybox's udhcp was deleted a while ago. Bolting an external project onto theRob Landley
tree doesn't change that.
2006-05-04- add script to check for missing help entries of config optionsBernhard Reutner-Fischer
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'
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.