aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2005-07-28Erik pointed out that in the last try at the #ifdef cleanup Rob Landley
infrastructure, the compiler isn't smart enough to replace const static int with the constant, and allocates space for each set of them, bloating the executable something fierce. Oops. So now, we #define ENABLE_XXX to 0 or 1 for each CONFIG_XXX (which is still there so the 1000+ #ifdef/#ifndef tests don't have to be replaced wholesale). Changed the test instance in networking/ifconfig.c to use this.
2005-07-27#ifdef reduction infrastructure, based on an argument between Shaun Jackman,Rob Landley
Rob Landley, and others. Currently CONFIG options are defined or undefined, so we chop out code with #ifdefs, ala: #ifdef CONFIG_THING stuff(); #endif This creates a new header file, bb_config.h, which sets the CONFIG entry to 1 or 0, and lets us do: if(CONFIG_THING) stuff(); And let the compiler do dead code elimination to get rid of it. (Note: #ifdef will still work because for the 1 case it's a static const int, not a #define.)
2005-06-11move config.h requirement to the actual .depend target rather than the ↵Mike Frysinger
depend alias
2005-05-03A patch from Takeharu KATO to update/fix SE-Linux support.Rob Landley
2005-04-24add new subdir for e2fsprogsMike Frysinger
2005-02-13Remove whitespaceEric Andersen
2004-11-02Correct the install-hardlinks target the same way as was already donePeter Kjellerstedt
for the install target.
2004-10-13egor duda writes:Eric Andersen
egor duda wrote: >Ok, here's an updated patch. >'make check' should work now, and one make creates Makefile in build >directory, so one can run 'make' in build directory after that. ahem. It looks like i'm slightly late with it but... Here's a little addition to make 'make O=/some/where PREFIX=/some/where/else install' work. Sorry for delay :( egor
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-26Improve the setuid situation a bit, and make it more apparentEric Andersen
when people really ought to make busybox setuid root. -Erik
2004-07-20The 'tests' target is long gone.Eric Andersen
2004-04-06Eliminate all trace of the sgml based docs. It was a noble effort,Eric Andersen
but it just never worked out...
2004-04-06Fix it so build dependancies actually work and do something usefulEric Andersen
2004-04-06Fix it so usage is _always_ in sync with applets.c. Previously,Eric Andersen
broken depends allowed these to get out of sync.
2004-04-06Yet more 'make allyesconfig' adjustmentsEric Andersen
2004-04-06Make 'allyesconfig' be a bit less stupidEric Andersen
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-11-17Use the PROG variable instead of 'busybox' in the release targetGlenn L McGrath
2003-09-24Use a variable for the config files, makes it easier to syncronise withGlenn L McGrath
debian builds
2003-09-20Patch by Steinar H. Gunderson to fix debian bug #211675.Glenn L McGrath
Linking to my_getgrnam from libpwdgrp wasnt working, instead it was trying to use functionality from glibc, which pulled in libnss.
2003-08-29Change make to $(MAKE), patch by Hideki IWAMOTOGlenn L McGrath
2003-08-29* Since busybox binary is unnecessary, deleted it from prerequisites.Glenn L McGrath
* Changed so that not only links but /bin/busybox might be deleted. * When double quoted PREFIX is defined by `.config' is used, `make uninstall' does not work correctly. When default PREFIX `pwd`/_install defined by Rules.mak is used, similarly it does not work correctly. Changed $$PREFIX into $(PREFIX) in order to fix this. Patch by Hideki IWAMOTO
2003-08-22Fixup 'make clean' to properly clean the _install directoryEric Andersen
2003-07-29Set libbb dead last in the link orderEric Andersen
2003-07-15Yet more preparation to make a release...Eric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-07-03Patch from Russell Coker:Eric Andersen
I've attached my latest SE Linux patch for busybox against the latest CVS version of busybox.
2003-06-25Oops. As Andrew Dennison just noticed, I left a strayEric Andersen
space in the Makefile, thereby totally breaking it.
2003-06-25Regenerate the busybox.links file when the .config changesEric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-15Merge fileutils, textutils and shellutils into coreuilsGlenn L McGrath
2003-01-27Don't wipe the config system on 'make clean'Eric Andersen
2003-01-14Clean config binsries on 'make clean'Eric Andersen
2003-01-11Fix an obvious mistakeEric Andersen
2002-12-20Adjust for new .depend targetGlenn L McGrath
2002-12-20busybox target wasnt checking .depend, clean kbuild binaries only on distcleanGlenn L McGrath
2002-12-13Don't build the ncurses stuff unless it is specifically asked forEric Andersen
-Erik
2002-12-09err.. Make clean in the scripts/config directory to remove some binariesGlenn L McGrath
2002-12-09Make clean in the scripts directory to remove some binariesGlenn L McGrath
2002-12-05Yet another major rework of the BusyBox config system, using the considerablyEric Andersen
modified Kbuild system I put into uClibc. With this, there should be no more need to modify Rules.mak since I've moved all the interesting options into the config system. I think I've got everything updated, but you never know, I may have made some mistakes, so watch closely. -Erik
2002-11-11Move readlink, mktemp, run-parts and which to a new debianutils dir.Glenn L McGrath
2002-11-10IP applet by Bastian Blank <waldi@debian.org>Glenn L McGrath
2002-10-14added full udhcp integrationRuss Dill
2002-10-08Remember to delete docs/busybox.podEric Andersen
2002-07-31Be more portable with 'find' for those that prefer programmingEric Andersen
on *BSD, etc. Formatting fixes, etc.
2002-07-19Applied vodz' patches #49 and #50 (with a small correction in runshell.c)Robert Griebl
#49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes.
2002-06-06Lets give this a try...Eric Andersen
2002-06-04Bigger patch for (partial) tinylogin integrationRobert Griebl
- Made a new dir loginutils - Moved all applets from pwd_grp to loginutils - Added new applets su.c login.c to loginutils - Made a new dir libpwdgrp - Moved everything from pwd_grp/libpwd_grp there - Added shadow.c to libpwdgrp - Removed dir pwd_grp - Added usage strings for login and su to usage.h - Changed main Makefile to reflect the dir rearrangements [Parts of this patch may overlap with my other two patches]
2002-04-27When the .config file is missing, supply a default oneEric Andersen
and run menuconfig
2002-04-13Cleanup make cleanEric Andersen