aboutsummaryrefslogtreecommitdiff
path: root/Rules.mak
AgeCommit message (Collapse)Author
2006-08-30Bernhard Fischer complained about moving --sort-common.Rob Landley
2006-08-29There's some strange bug in glibc that triggers if you combine theRob Landley
--gc-sections linker flag with static linking. If this happens, then the "stdout" variable (used by printf() and such) will only work if stdout is _not_ redirected. I.E "./busybox" prints stuff, but "./busybox | cat" does not produce any output. (But even when redirected, "write(1,"blah",4);" continues to work just fine.) This is clearly a glibc bug, but to avoid triggering it I've moved the --gc-sections flag so it only gets added when we're not statically linking. If somebody would like to go poke Ulrich Drepper, you can trivially reproduce this with a "hello world" program, ala: gcc -static -Wl,--gc-sections hello.c && (./a.out | cat)
2006-08-29- set version back to 1.2.0 like it was before. Add at least -svn to the ↵Bernhard Reutner-Fischer
Extraversion to be able to distinguish it from the now old 1.2.0 release
2006-08-28need libsepol in addtion to libselinuxMike Frysinger
2006-08-28- do maintainers duty by bumping version to 1.3.0-pre0;Bernhard Reutner-Fischer
pullup r15828 from busybox_scratch
2006-08-20Yann E. Morin spotted a broken check_ld macro.Rob Landley
2006-08-18- remove CRIS specific CFLAG from generic flags-checking.Bernhard Reutner-Fischer
2006-07-311) ifeq is make syntax, #ifeq is a make comment.Rob Landley
2) The check_cc macros should probably all have the same number of arguments. 3) Move the -Werror into the gcc 4.0 on i386 test, because gcc 4.1 is broken and produces warnings for things that provably aren't incorrect. In other news it would be nice if our check_ld macro actually did something, and why does or makefile do all the check_cc calls, then call itself as if it's building out of tree, then do all the check_cc calls again?
2006-07-16Add -Werror.Rob Landley
2006-07-06Minor build tweaks that save 1100 bytes building busybox on Ubuntu 6.06.Rob Landley
2006-07-04- Pull r15593:Bernhard Reutner-Fischer
Rename to CROSS_COMPILE and move its configuration to .config.mak. (Shaun Jackman)
2006-06-30Annoint 1.2.0.Rob Landley
2006-06-22Patch from Shaun Jackman to replace CFLAGS_EXTRA with .config.makRob Landley
2006-06-13Use -ffunction-sections -fdata-sections --gc-sections if the compiler supportsRob Landley
it. If nothing else, this gives us better granularity in bloatcheck.
2006-06-13- make VERBOSE= and V= work equally; use BUILD_VERBOSE internally.Bernhard Reutner-Fischer
- move the link flags to cmd_link* so they are printed when requesting verbose output
2006-06-11- invert logic for nocheck_targets to exclude the empty default target.Bernhard Reutner-Fischer
2006-06-10- don't check for toolchain-setting for make targets that don't need themBernhard Reutner-Fischer
- we already depend on sed, so do away with tr. Avoids pulling in yet another dependency.
2006-05-29- cleanup conftest temporary files.Bernhard Reutner-Fischer
2006-05-26- add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Bernhard Reutner-Fischer
Adds "Enable getopt long" under "General options", default y. Send patches to fix getopt_ulflags and run_parts.c if you turn this off.. See http://busybox.net/lists/busybox/2006-May/021828.html for a start to run-parts
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-15The one line fix to Bernhard Fischer's "profoundly".Rob Landley
2006-05-11back out default implicit %.o rule for nowMike Frysinger
2006-05-10add implicit rule for %.a to help debugging in subdirsMike Frysinger
2006-05-10add a default .o rule for easier debugMike Frysinger
2006-05-09Split CONFIG_DEBUG from CONFIG_DEBUG_PESSIMIZE, and consolidate some Rules.makRob Landley
stuff along the way.
2006-05-08- fix buildBernhard Reutner-Fischer
2006-05-08The changes svn 14960 made to Rules.mak broke building out of treeRob Landley
(with O=directory), and reverting them fixes building out of tree. I'd be happy to fix them up instead of reverting them if I had the foggiest idea what they were trying to do, but I don't, and this at least gets building out of tree working again...
2006-05-07Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesRob Landley
as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
2006-04-29compile.h is incorrect; create a new do_link.h and use that for bb_mkdep and ↵Mike Frysinger
usage
2006-04-28- rerun gcse pass after reload, enable whole-program iff we are not buildingBernhard Reutner-Fischer
the lib (due to bug in gcc; see comment.) I would have run the testsuite to check if everything is still behaving, but unfortunately i cannot run the testsuite anymore: it just sits there and does nothing even with a pristine checkout and an old gcc. srcdir=/tmp/busybox/testsuite /tmp/busybox/testsuite/runtest PASS: Applet order FAIL: Common typos PASS: Obsolete function usage PASS: Obsolete function usage <spins, ^C> make[1]: *** [check] Interrupt make: *** [check] Interrupt I've just corrected that wrong double-printing. Anyway. with gcc-4.1-HEAD from earlier today, we now have for defconfig+ COMPILE_AT_ONCE: 880 -rwxr-xr-x 1 433 433 893476 Apr 28 21:41 busybox.oorig-4.0 860 -rwxr-xr-x 1 433 433 874560 Apr 28 21:36 busybox.oorig 844 -rwxr-xr-x 1 433 433 858752 Apr 28 21:49 busybox text data bss dec hex filename 879920 11568 1039148 1930636 1d758c busybox.oorig-4.0 862802 10192 1038796 1911790 1d2bee busybox.oorig 848066 9100 1037536 1894702 1ce92e busybox values for 4.0.2 just added for reference..
2006-04-212006-04-20 Shaun Jackman <sjackman@gmail.com>Mike Frysinger
* Makefile: Build a bFLT binary. * Rules.mak: Ditto.
2006-04-19svn 14824 broke -funsigned-char and possibly building out of tree, becauseRob Landley
$(srcdir) can't bind early since it's set to a different value in each subdir. If it binds early, it's blank, hence an empty -I which eats the next option as a directory to look for #include files in. So CFLAGS has to bind late, but the check_gcc stuff should only get run once. I added a "make V=2" mode to show when check_gcc gets run, and turned WARNINGS into a CFLAGS line since it was always getting added anyway.
2006-04-11- pin the CFLAGS to make sure that we don't have to re-evaluate theBernhard Reutner-Fischer
check_gcc over and over again. Makes make -j work for me..
2006-04-02- switch Warning Of the Week to wrong or missing prototypes.Bernhard Reutner-Fischer
e.g. archival/uncompress.c wrongly includes libbb.h instead of busybox.h decompress_bunzip2.c,open_transformer.c don't include the proper "unarchive.h" etc, etc.
2006-03-29- warn a bit more verbosely about fmt stuff for non-release versionsBernhard Reutner-Fischer
2006-03-29- mark trunk as 1.2.0-pre0Bernhard Reutner-Fischer
2006-03-28Mike Frysinger pointed out we can goRob Landley
CFLAGS=-I/usr/some/funky/path/to/selinux \ LDFLAGS=-L/usr/some/funky/path/to/selinux make So Jan Kiszka reverted part of the selinux patch.
2006-03-27Patch from Jan Kiszka: In case the libselinux development installation is notRob Landley
located at its default location, this patch allows to override the path via SELINUX_INC and SELINUX_LIB when invoking make.
2006-03-22We make both busybox and busybox_unstripped all the time now, no need toRob Landley
specify whether or not to strip the binary.
2006-03-22Annoint 1.1.1.Rob Landley
2006-03-21- workaroung pr25795 in gcc-4.1Bernhard Reutner-Fischer
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25795
2006-03-13- revert back to r14406Bernhard Reutner-Fischer
2006-03-10add a sep option for strippingMike Frysinger
2006-03-09- remove check. Fixes e.g. buildrootBernhard Reutner-Fischer
2006-03-09- backout using features which are not available with the previous stableBernhard Reutner-Fischer
version of make (3.71.1).
2006-03-03- correct comment.Bernhard Reutner-Fischer
Should revisit gcc >= 4.1 with that =1 later on
2006-03-03Denis Vlasenko noticed that falign=0 is meaningless, and that should probablyRob Landley
be falign=1. Saves a little over 3k on an x86 "make defconfig" build.
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-01- fixes parallel builds (make -j)Bernhard Reutner-Fischer
- use less resources for the buildsystem itself
2006-02-02make the build system puuuuuuuuuuurtyMike Frysinger