aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2005-10-07- fix bug #94: 'make install' does not respect PREFIX nor CROSS when using O=Bernhard Reutner-Fischer
- other minor cosmetic tweaks while at it
2005-10-06- support make check V=1 to run the checks in verbose modeBernhard Reutner-Fischer
- pass verbose from runtest to testing.sh
2005-10-05- remove explicit dependency of busybox.o and applets.o and usage.h from theBernhard Reutner-Fischer
Makefile. Instead fix the invocation of bb_mkdep.
2005-10-05- fix generation of .depend when building out of tree.Bernhard Reutner-Fischer
point bb_mkdep to the source directory and not the build-directory.
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-27pass EXTRA_CFLAGS to final link since it may contain things that affect ↵Mike Frysinger
linking (such as -m32)
2005-09-26- remove unused variable TOPDIRBernhard Reutner-Fischer
2005-09-26add "make help"Rob Landley
2005-09-25this should fix parallel building with .depend/bb_config.hMike Frysinger
2005-09-24fix parallel building againMike Frysinger
2005-09-24make test an alias for checkMike Frysinger
2005-09-21moved include/bbconfigopts.h from miscutils to to top Makefile before ↵"Vladimir N. Oleynik"
generate .depend. Remove allyesconfig build problem, noticed by Bernhard Fischer
2005-09-20The testsuite/links directory wasn't being created.Rob Landley
2005-09-19corect build bbconfig applet, Thanks, Bernhard Fischer"Vladimir N. Oleynik"
2005-09-12new my scripts/mm_mkdep, dependences work now"Vladimir N. Oleynik"
2005-09-11This combines a patch from Bernhard Fischer (moving the clean ofRob Landley
scripts/config from distclean to clean) with a sed consolidation that's been in my tree for a bit, and switching the GPL boilerplate to just point at LICENSE.
2005-09-02Working on a new test harness. Moved the sort tests into it.Rob Landley
2005-09-01Bernhard Fischer sent a patch to make "make sizes" work when building inRob Landley
another output directory.
2005-08-28Dumb little hack, "make sizes". Try it.Rob Landley
2005-08-24Bernhard Fischer submitted a couple of Makefile patches:Rob Landley
- Fix building out-of-tree - remove duplicate rule in toplevel Makefile - peruse make's builtin notion of `dirname $@'
2005-08-17When doing 'make release' nuke the .svn directories, not theEric Andersen
CVS dirs (since they are no longer present)
2005-08-11make sure distclean punts include/bbconfigopts.hMike Frysinger
2005-08-02In bb_config.h, replace AUTOCONF_INCLUDED guard with the more reasonable andRob Landley
obvious (and less side-effect prone in strange build environments) BB_CONFIG_H. Yeah, I know Erik ripped it out of our copy of menuconfig (which is a good thing), but that doesn't fix people whose headers have it inherited from linux-kernel headers or old versions of uclibc, and Erik's fix could easily get forgotten and reverted the next time we update menuconfig anyway...
2005-08-01fix bbconfigopts.h dependMike Frysinger
2005-08-01screw around with whitespaceMike Frysinger
2005-08-01new config display applet, from bug 46. i've changed the namePaul Fox
of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately.
2005-07-31patch by pkj in Bug 3 to not export all make variablesMike Frysinger
2005-07-28dont output anything when running in silent modeMike Frysinger
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