aboutsummaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2016-03-01Fix "make help" again.Elliott Hughes
Same missing quote at end of line as last time. The new additions to the help are very useful though.
2016-02-19Add test_COMMAND for each command, update "make help" to describe TEST_HOSTRob Landley
and VERBOSE=fail, and fix a quote mismatch.
2016-02-14Add "make list", rename make working->list_working and pending->list_pending,Rob Landley
and filter out commands that aren't nofork but aren't installed either (toyflags 0, I.E. recognized aliases like "-sh" called from login).
2016-02-10Wean scripts/install.c off toys.h so cross compiling less brittle.Rob Landley
2016-02-07Add "make ls" and friends targets, with "make working" and "make pending" lists.Rob Landley
2016-02-03Commit d20b9ff3ee0f fixed most of yocto building, but there was a leftoverRob Landley
(redundant) file built from the makefile (which _should_ just be a wrapper for scripts/make.sh and scripts/install.sh).
2015-10-05Fix allnoconfig. (Exporting HOSTCC before HOSTCC?=cc caused a problem.)Rob Landley
2015-10-04Export makefile variables so you can say "make CROSS_COMPILE=blah-" as well ↵Rob Landley
as "CROSS_COMPILE=blah- make".
2015-03-28Fix an obvious typo in Makefile.Elliott Hughes
2015-02-14Move guts of "make change" to scripts/change.sh, don't try to build sh or ↵Rob Landley
help standalone. sh builtin commands need multiplexer, help describes other enabled commands.
2015-02-07Clean up the output of "make change".Rob Landley
2014-12-13Add "make help" entry for "make change".Rob Landley
2014-11-28Add "change" subdirectory to make clean.Rob Landley
2014-11-28Add "make change" target to build the big toybox binary as a bunch of little ↵Rob Landley
ones (in the "change" subdirectory), and tweak scripts/make.sh to avoid redundant work when rebuilding.
2014-09-20Delete generated/README.txt (the contents are in code.html now) so clean can ↵Rob Landley
just remove the "generated" directory entirely.
2014-09-20Forgot to check in the updated makefile when I moved the testsuite.Rob Landley
(Did you know you can test individual commands with scripts/test.sh command? Now you do...)
2014-09-11Create a generated/build.sh with a single compiler command line to rebuild ↵Rob Landley
the toybox_unstripped binary using the existing generated/*.h files. This way we can snapshot the generated/*.{h,sh} from a defconfig build into a "shipped" directory or something, and then people can maybe build on crazy crippled environments like pcbsd that haven't got gmake and put bash under /usr/local so none of the #!/scripts can find it. This solves at least part of the "toybox can build with itself but you need to build toybox first to have the tools to run the build scripts" problem. Next up: work out the minimal config to provide the build tools needed to run an actual build. (This should, eventually, include a "make" command if freebsd's kernel is going to refuse to build with netbsd's "make" and we don't just write off the whole thing as crazy. But it probably shouldn't include commands that #include <linux/*.h> if we are trying to make that work.)
2014-09-09Make tweaks: collate generated/*.o files into their own subdirectory, add ↵Rob Landley
PIPEFAIL for better error reporting, and simpler regex to select toys/*/*.c list based on NEWTOY/OLDTOY macros.
2014-08-10Update clean to clean up after new parallel build.Rob Landley
2014-04-15Probes for O_NOFOLLOW that compile and run something aren't compatible with ↵Rob Landley
cross compiling, so just #define it to 0 if it's not in fcntl.h where posix-2008 says.
2014-02-28Fix two bugs reported by Ashwini Sharma.Rob Landley
2014-01-03Replace python help converter with C implementation.Rob Landley
2013-11-10distclean was missing singleconfig.old.Rob Landley
2013-10-03Switch flag generation from shell to C.Rob Landley
This should actually generate FLAG_longopt 0 #defines for disabled bare longopts (ala ls without --color). Put temporary executables under "generated" (including instlist for install).
2013-08-30Add scripts/single.sh to build individual non-multiplexed standalone commands.Rob Landley
Alas, you can't quite do this yet: make defconfig make for i in $(./toybox) do echo $i PREFIX=singles/ scripts/single.sh $i || break done Because the OLDTOY() aliases for commands won't build without the base command. And I can't just skip them because chown/chmod or mv/cp aren't the same thing.
2013-08-12More grep cleanup, and make OPTSTR_command macros for use with OLDTOY()Rob Landley
2012-08-25Move commands into "posix", "lsb", and "other" menus/directories.Rob Landley
2012-06-18Replace CCFLAGS with description of how to add flags to HOSTCC.Rob Landley
2012-02-28Now that generated/Config.probed is its own file, add it to build dependencies.Rob Landley
2012-02-21Replace GPL python debug script with BSD shell script.Rob Landley
2012-02-19Set HOSTCC only if it isn't already set as an environment variable.Rob Landley
2012-02-04Add a basic README and an example to "make help".Rob Landley
2012-02-03Add autodetect for container support.Rob Landley
2011-12-28Fix "make help".Rob Landley
2009-03-28Regenerate Config.in when toys/*.c changes.Rob Landley
2008-05-04Try to convince make to be less stupid about rebuilding.Rob Landley
2008-03-29Wow is make stupid. (Ahem, full of "magic, implicit rules". Which are stupid.)Rob Landley
The directory scripts/test is not related to the script scripts/test.sh. If the shell script is newer than the directory, IT DOESN'T MATTER.
2008-03-28Update help, move test.sh to scripts, and fix "make test" to call right script.Rob Landley
2008-03-28Add uninstall and uninstall_flat.Rob Landley
2008-03-28Add install target, and make install_flat use scripts/install.shRob Landley
2008-02-23Don't delete testdir after running test.sh. Add it to make clean instead.Rob Landley
2008-02-17Yet more build dependency tweaks...Rob Landley
2008-01-22Might as well make the dependencies slightly more paranoid.Rob Landley
(The only reason to have dependencies at all is so "make install" doesn't trigger a rebuild. A rebuild is always a build all anyway.)
2008-01-21Hit makefile dependencies so install step doesn't rebuild toybox.Rob Landley
2008-01-20Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS()Rob Landley
macros in each C file, and making generated/globals.h from that. Rename "toy" to "this" along the way to avoid toy/toys confusion.
2008-01-19Move NEWTOY() list from end of toylist.h to generated/newtoys.h.Rob Landley
2008-01-19Zap toys/Config.in and instead create generated/Config.in from contents ofRob Landley
toys/*.c. Move relevant info into comment at the top of each toys/*.c. Also convert more of Makefile into a thin wrapper around shell scripts that actually do the work. (Makefile is only still there for the user interface.)
2008-01-10Move some generated files into the "generated" subdirectory.Rob Landley
2007-12-09Add some more .PHONY targets.Rob Landley
2007-11-27Add a comment about a case that made me stop and think.Rob Landley