aboutsummaryrefslogtreecommitdiff
path: root/Rules.mak
Commit message (Collapse)AuthorAgeFilesLines
* - cleanup conftest temporary files.Gravatar Bernhard Reutner-Fischer2006-05-291-1/+1
|
* - add central knob to turn off getopt_long everywhere. EXPERIMENTAL!Gravatar Bernhard Reutner-Fischer2006-05-261-3/+3
| | | | | | 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
* - add target hosttools (see make help)Gravatar Bernhard Reutner-Fischer2006-05-261-55/+116
| | | | | | - 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
* The one line fix to Bernhard Fischer's "profoundly".Gravatar Rob Landley2006-05-151-1/+0
|
* back out default implicit %.o rule for nowGravatar Mike Frysinger2006-05-111-3/+0
|
* add implicit rule for %.a to help debugging in subdirsGravatar Mike Frysinger2006-05-101-0/+8
|
* add a default .o rule for easier debugGravatar Mike Frysinger2006-05-101-0/+3
|
* Split CONFIG_DEBUG from CONFIG_DEBUG_PESSIMIZE, and consolidate some Rules.makGravatar Rob Landley2006-05-091-7/+15
| | | | stuff along the way.
* - fix buildGravatar Bernhard Reutner-Fischer2006-05-081-2/+9
|
* The changes svn 14960 made to Rules.mak broke building out of treeGravatar Rob Landley2006-05-081-6/+0
| | | | | | | (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...
* Remove bb_strlen() in favor of -fno-builtin-strlen. Saves as many bytesGravatar Rob Landley2006-05-071-0/+1
| | | | | as the old optimization did (actually does slightly better under gcc 4.0), and simplifies the code.
* compile.h is incorrect; create a new do_link.h and use that for bb_mkdep and ↵Gravatar Mike Frysinger2006-04-291-0/+6
| | | | usage
* - rerun gcse pass after reload, enable whole-program iff we are not buildingGravatar Bernhard Reutner-Fischer2006-04-281-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-20 Shaun Jackman <sjackman@gmail.com>Gravatar Mike Frysinger2006-04-211-0/+7
| | | | | * Makefile: Build a bFLT binary. * Rules.mak: Ditto.
* svn 14824 broke -funsigned-char and possibly building out of tree, becauseGravatar Rob Landley2006-04-191-13/+25
| | | | | | | | | | $(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.
* - pin the CFLAGS to make sure that we don't have to re-evaluate theGravatar Bernhard Reutner-Fischer2006-04-111-1/+1
| | | | check_gcc over and over again. Makes make -j work for me..
* - switch Warning Of the Week to wrong or missing prototypes.Gravatar Bernhard Reutner-Fischer2006-04-021-5/+3
| | | | | | 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.
* - warn a bit more verbosely about fmt stuff for non-release versionsGravatar Bernhard Reutner-Fischer2006-03-291-0/+8
|
* - mark trunk as 1.2.0-pre0Gravatar Bernhard Reutner-Fischer2006-03-291-3/+3
|
* Mike Frysinger pointed out we can goGravatar Rob Landley2006-03-281-5/+1
| | | | | | 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.
* Patch from Jan Kiszka: In case the libselinux development installation is notGravatar Rob Landley2006-03-271-1/+5
| | | | | located at its default location, this patch allows to override the path via SELINUX_INC and SELINUX_LIB when invoking make.
* We make both busybox and busybox_unstripped all the time now, no need toGravatar Rob Landley2006-03-221-5/+1
| | | | specify whether or not to strip the binary.
* Annoint 1.1.1.Gravatar Rob Landley2006-03-221-1/+1
|
* - workaroung pr25795 in gcc-4.1Gravatar Bernhard Reutner-Fischer2006-03-211-1/+2
| | | | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25795
* - revert back to r14406Gravatar Bernhard Reutner-Fischer2006-03-131-203/+109
|
* add a sep option for strippingGravatar Mike Frysinger2006-03-101-1/+4
|
* - remove check. Fixes e.g. buildrootGravatar Bernhard Reutner-Fischer2006-03-091-2/+0
|
* - backout using features which are not available with the previous stableGravatar Bernhard Reutner-Fischer2006-03-091-24/+32
| | | | version of make (3.71.1).
* - correct comment.Gravatar Bernhard Reutner-Fischer2006-03-031-1/+1
| | | | Should revisit gcc >= 4.1 with that =1 later on
* Denis Vlasenko noticed that falign=0 is meaningless, and that should probablyGravatar Rob Landley2006-03-031-1/+1
| | | | be falign=1. Saves a little over 3k on an x86 "make defconfig" build.
* - make sure applets.o is rebuilt when the .config changes.Gravatar Bernhard Reutner-Fischer2006-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
* - fixes parallel builds (make -j)Gravatar Bernhard Reutner-Fischer2006-03-011-116/+198
| | | | - use less resources for the buildsystem itself
* make the build system puuuuuuuuuuurtyGravatar Mike Frysinger2006-02-021-10/+55
|
* - pass -static via CC rather than LDGravatar Bernhard Reutner-Fischer2006-01-311-12/+6
|
* Remove foo.txt and reenable -funsigned-char now that ash is fixed.Gravatar Rob Landley2006-01-301-2/+1
|
* - add a macro to check for ld and as flagsGravatar Bernhard Reutner-Fischer2006-01-271-6/+26
| | | | | | | 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.
* - correct flag for gcc-3.xGravatar Bernhard Reutner-Fischer2006-01-241-1/+1
|
* ash with -funsigned-char don`t work!Gravatar "Vladimir N. Oleynik"2006-01-231-1/+1
|
* - bump version to 1.1.1 nonrelease series (let's say -pre0).Gravatar Bernhard Reutner-Fischer2006-01-191-2/+2
|
* - shared libbusybox.Gravatar Bernhard Reutner-Fischer2006-01-151-2/+34
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* And lo, we hath reached Release Candidate 1. 1.1.0 should happen this week.Gravatar Rob Landley2006-01-101-1/+1
|
* The rest of Yann E. Morin's install revamp.Gravatar Rob Landley2005-12-151-0/+12
|
* - check if CC supports -funsigned-charGravatar Bernhard Reutner-Fischer2005-12-131-1/+9
| | | | - add CC_MAJOR and CC_MINOR variables. (gcc centric for now)
* Make char default to "unsigned" on all platforms so we have a consistent baseGravatar Rob Landley2005-12-011-2/+2
| | | | to deal with all the new gcc 4.0.2 warnings from.
* update licenseGravatar Mike Frysinger2005-11-291-14/+2
|
* ShaneAnderson writes in Bug 565:Gravatar Mike Frysinger2005-11-291-5/+5
| | | | | need to include .config file before setting CROSS otherwise TARGET_ARCH isnt set properly
* - split VERSION into partsGravatar Bernhard Reutner-Fischer2005-10-131-1/+14
| | | | | | - 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"
* - fix building out-of-tree;Gravatar Bernhard Reutner-Fischer2005-10-051-11/+7
| | | | | | | | | | | | | | | | | 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.
* - remove unused variable TOPDIRGravatar Bernhard Reutner-Fischer2005-09-261-1/+1
|
* A bit overdue...Gravatar Rob Landley2005-09-081-1/+1
|