aboutsummaryrefslogtreecommitdiff
path: root/Rules.mak
AgeCommit message (Collapse)Author
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
2006-01-31- pass -static via CC rather than LDBernhard Reutner-Fischer
2006-01-30Remove foo.txt and reenable -funsigned-char now that ash is fixed.Rob Landley
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-24- correct flag for gcc-3.xBernhard Reutner-Fischer
2006-01-23ash with -funsigned-char don`t work!"Vladimir N. Oleynik"
2006-01-19- bump version to 1.1.1 nonrelease series (let's say -pre0).Bernhard Reutner-Fischer
2006-01-15- shared libbusybox.Bernhard Reutner-Fischer
- IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
2006-01-10And lo, we hath reached Release Candidate 1. 1.1.0 should happen this week.Rob Landley
2005-12-15The rest of Yann E. Morin's install revamp.Rob Landley
2005-12-13- check if CC supports -funsigned-charBernhard Reutner-Fischer
- add CC_MAJOR and CC_MINOR variables. (gcc centric for now)
2005-12-01Make char default to "unsigned" on all platforms so we have a consistent baseRob Landley
to deal with all the new gcc 4.0.2 warnings from.
2005-11-29update licenseMike Frysinger
2005-11-29ShaneAnderson writes in Bug 565:Mike Frysinger
need to include .config file before setting CROSS otherwise TARGET_ARCH isnt set properly
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-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-26- remove unused variable TOPDIRBernhard Reutner-Fischer
2005-09-08A bit overdue...Rob Landley
2005-07-31patch by pkj in Bug 3 to not export all make variablesMike Frysinger
2005-07-31move -s from LDFLAGS to STRIPCMDMike Frysinger
2005-07-31Fix "nm --size-sort" on the busybox binary and document how to make it work.Rob Landley
2005-07-28further refine check_gcc usage so it is only called the bare min number of timesMike Frysinger
2005-07-28dont output anything when running in silent modeMike Frysinger
2005-07-28From Rich Paul:Rob Landley
I've noticed that when I compile busybox on my laptop, it compiles more slowly than one would expect, and although it's a (more-or-less) multiprocessor system and I use -j5, make never seems to run more than one job at a time. I believe I have found the culprit:  each time a file is compiled, gcc runs about 5 times.  This is because the $(check_gcc) macros and the TARGET_ARCH macros are late binding. The attached patch cuts the compilation time by 66%, from 1.5 minutes to 30 seconds.  Your mileage may very.  These statements have not been evaluated by the FDA.
2005-07-27use toplevel ARFLAGS and update default ARFLAGS to be quietMike Frysinger
2004-10-08Bump versionEric Andersen
2004-10-08egor duda writes:Eric Andersen
Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
2004-08-16Bump versionEric Andersen
2004-07-26bump version to -rc2Eric Andersen
2004-07-26Prepare for releaseEric Andersen
2004-07-26bump version to -rc2Eric Andersen