History log of /external/toybox/Makefile
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cba5dc47c1efcf07af044d11af7f64e7516f1075 04-Jan-2017 Rob Landley <rob@landley.net> Tweak install_airlock help text.
/external/toybox/Makefile
6c3188cf0e551cd07e28398262cffb8b5b82a114 03-Oct-2016 Rob Landley <rob@landley.net> Add install_airlock target for hermetic build environment setup, and rebuild
headers during install to make other install targets robust against single
command builds between "make" and "make install" of multiplexer version.
/external/toybox/Makefile
8cc325d55ca2984dbf2a29dbc48ed483de979740 05-Sep-2016 Rob Landley <rob@landley.net> Add comment so I don't undo and then redo a thing again.
/external/toybox/Makefile
a59951489ecf4375f12821c2a270b497ec9748e0 20-Apr-2016 Rob Landley <rob@landley.net> Replace list_working with just list, "make list list_pending" shows combined list.
/external/toybox/Makefile
a8d0d13376251e1ff35a557dddea1d2e3c81a149 23-Mar-2016 Rob Landley <rob@landley.net> Redo build stuff in response to Andy Chu's suggestions.

Toybox single binaries are now made directly with the new name instead of
stomping toybox and getting renamed.

Unstripped files now live in generated/unstripped.

Target to run all tests is now "make tests" to avoid conflict with "make test".

.singleconfig now has .PHONY: entries for all test_$NAME targets.

Default install location changed to /usr/toybox, code.html now says how
to change it (set $PREFIX).

scripts/install.sh --uninstall works now. (And you get to keep the pieces!)
/external/toybox/Makefile
d3904ef62366c6a5ba5c47a583f114ac4338698b 27-Feb-2016 Elliott Hughes <enh@google.com> Fix "make help" again.

Same missing quote at end of line as last time. The new additions to
the help are very useful though.
/external/toybox/Makefile
5ec9f52a39c0f5a631cd60f12560698033eba7dc 20-Feb-2016 Rob Landley <rob@landley.net> Add test_COMMAND for each command, update "make help" to describe TEST_HOST
and VERBOSE=fail, and fix a quote mismatch.
/external/toybox/Makefile
05b7529c1e36fb527113ddcfde5b8513ec2c66d1 14-Feb-2016 Rob Landley <rob@landley.net> Add "make list", rename make working->list_working and pending->list_pending,
and filter out commands that aren't nofork but aren't installed either
(toyflags 0, I.E. recognized aliases like "-sh" called from login).
/external/toybox/Makefile
df07fb73be98dc1087346c184877666970a88f4a 11-Feb-2016 Rob Landley <rob@landley.net> Wean scripts/install.c off toys.h so cross compiling less brittle.
/external/toybox/Makefile
712e43ef7c92e8903e6f9d7ca261a420c566d299 08-Feb-2016 Rob Landley <rob@landley.net> Add "make ls" and friends targets, with "make working" and "make pending" lists.
/external/toybox/Makefile
9a64b8db59db8182255bd56abdd472939c33fabe 04-Feb-2016 Rob Landley <rob@landley.net> Commit d20b9ff3ee0f fixed most of yocto building, but there was a leftover
(redundant) file built from the makefile (which _should_ just be a wrapper
for scripts/make.sh and scripts/install.sh).
/external/toybox/Makefile
1223578c94c1d409af481dd7af2fb84261c20c62 06-Oct-2015 Rob Landley <rob@landley.net> Fix allnoconfig. (Exporting HOSTCC before HOSTCC?=cc caused a problem.)
/external/toybox/Makefile
5b39d5c58cc3c43580a9114355b0763c171926b6 04-Oct-2015 Rob Landley <rob@landley.net> Export makefile variables so you can say "make CROSS_COMPILE=blah-" as well as "CROSS_COMPILE=blah- make".
/external/toybox/Makefile
58e06423be7f568076d273a358975317c14de30a 28-Mar-2015 Elliott Hughes <enh@google.com> Fix an obvious typo in Makefile.
/external/toybox/Makefile
45962a70e01c817dea7e7bf872b4e33748df7921 14-Feb-2015 Rob Landley <rob@landley.net> Move guts of "make change" to scripts/change.sh, don't try to build sh or help standalone.

sh builtin commands need multiplexer, help describes other enabled commands.
/external/toybox/Makefile
5eb4475bab76e81fd0119332d761b185a35944a5 08-Feb-2015 Rob Landley <rob@landley.net> Clean up the output of "make change".
/external/toybox/Makefile
e72ea20cada3cf20864740caa99e7b099b5f7ec9 13-Dec-2014 Rob Landley <rob@landley.net> Add "make help" entry for "make change".
/external/toybox/Makefile
6d33f3a8be75aadfc9fd452ed67964920e451b14 28-Nov-2014 Rob Landley <rob@landley.net> Add "change" subdirectory to make clean.
/external/toybox/Makefile
62390fddc753e04aa12655d073572f9c39af3874 28-Nov-2014 Rob Landley <rob@landley.net> Add "make change" target to build the big toybox binary as a bunch of little ones (in the "change" subdirectory), and tweak scripts/make.sh to avoid redundant work when rebuilding.
/external/toybox/Makefile
94a4603481b9fc663a72549b4cd0dcbd95fca062 20-Sep-2014 Rob Landley <rob@landley.net> Delete generated/README.txt (the contents are in code.html now) so clean can just remove the "generated" directory entirely.
/external/toybox/Makefile
cd299bfc0665ec13b406009b9ca1b43d17e1ad85 20-Sep-2014 Rob Landley <rob@landley.net> Forgot to check in the updated makefile when I moved the testsuite.

(Did you know you can test individual commands with scripts/test.sh command?
Now you do...)
/external/toybox/Makefile
8aa87ab9b4ee68eec75af26d550fbcfb732d660f 12-Sep-2014 Rob Landley <rob@landley.net> Create a generated/build.sh with a single compiler command line to rebuild 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.)
/external/toybox/Makefile
7a07c6bc431d441a2363b58a1d82fe7a2a6d75f2 10-Sep-2014 Rob Landley <rob@landley.net> Make tweaks: collate generated/*.o files into their own subdirectory, add PIPEFAIL for better error reporting, and simpler regex to select toys/*/*.c list based on NEWTOY/OLDTOY macros.
/external/toybox/Makefile
579ce3511a9bd9f288201c16553c866384e14a79 10-Aug-2014 Rob Landley <rob@landley.net> Update clean to clean up after new parallel build.
/external/toybox/Makefile
15027d6de049fa139a193abc5a86e6578faf630d 16-Apr-2014 Rob Landley <rob@landley.net> Probes for O_NOFOLLOW that compile and run something aren't compatible with cross compiling, so just #define it to 0 if it's not in fcntl.h where posix-2008 says.
/external/toybox/Makefile
da60b9b163a598ae97d7566f095d5d69f53a6dab 01-Mar-2014 Rob Landley <rob@landley.net> Fix two bugs reported by Ashwini Sharma.
/external/toybox/Makefile
86cafe1fde7c40625b50433a731bb167934bd8ab 04-Jan-2014 Rob Landley <rob@landley.net> Replace python help converter with C implementation.
/external/toybox/Makefile
ebe6af6d01c1df17f9ee4b22e215e748b3ecddf0 10-Nov-2013 Rob Landley <rob@landley.net> distclean was missing singleconfig.old.
/external/toybox/Makefile
207cadacd3cef42fa918981423c951f49443f032 03-Oct-2013 Rob Landley <rob@landley.net> Switch flag generation from shell to C.

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).
/external/toybox/Makefile
d04dc1feb92a279e27e4487c502944f454d43837 30-Aug-2013 Rob Landley <rob@landley.net> Add scripts/single.sh to build individual non-multiplexed standalone commands.

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.
/external/toybox/Makefile
dd2d23930241a30a8eb4f0fc9d70bc86c4a6cb6e 12-Aug-2013 Rob Landley <rob@landley.net> More grep cleanup, and make OPTSTR_command macros for use with OLDTOY()
/external/toybox/Makefile
3a9241add947cb6d24b5de7a8927517426a78795 25-Aug-2012 Rob Landley <rob@landley.net> Move commands into "posix", "lsb", and "other" menus/directories.
/external/toybox/Makefile
97abd4a9813b0bd2f16049e2291bba076828408f 19-Jun-2012 Rob Landley <rob@landley.net> Replace CCFLAGS with description of how to add flags to HOSTCC.
/external/toybox/Makefile
f2e61cb1bb9bc02362833e4b6126ef3436236c9a 28-Feb-2012 Rob Landley <rob@landley.net> Now that generated/Config.probed is its own file, add it to build dependencies.
/external/toybox/Makefile
7a4551ff5eec761ec303b21c9a35a37f51377a2f 22-Feb-2012 Rob Landley <rob@landley.net> Replace GPL python debug script with BSD shell script.
/external/toybox/Makefile
fcf188ffdba160303c1e8e59819239d3bf9f31ad 20-Feb-2012 Rob Landley <rob@landley.net> Set HOSTCC only if it isn't already set as an environment variable.
/external/toybox/Makefile
09e8bde9f292e537c35387435b5bea9024cf28e8 04-Feb-2012 Rob Landley <rob@landley.net> Add a basic README and an example to "make help".
/external/toybox/Makefile
27f5779a7a3d71cd26107d26330c67445341e879 04-Feb-2012 Rob Landley <rob@landley.net> Add autodetect for container support.
/external/toybox/Makefile
e614ee1e1dcf465eedf57184f95dab16f4dc40c2 28-Dec-2011 Rob Landley <rob@landley.net> Fix "make help".
/external/toybox/Makefile
36816221d5e3c148c7445b226e6e485437a6122b 29-Mar-2009 Rob Landley <rob@landley.net> Regenerate Config.in when toys/*.c changes.
/external/toybox/Makefile
87df5f68324769631e3acb05b940b9e145551609 04-May-2008 Rob Landley <rob@landley.net> Try to convince make to be less stupid about rebuilding.
/external/toybox/Makefile
09c13c9cf3f87621f621bf320017b89fb69f097a 29-Mar-2008 Rob Landley <rob@landley.net> Wow is make stupid. (Ahem, full of "magic, implicit rules". Which are stupid.)
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.
/external/toybox/Makefile
9d243a2efc889f9a171c8af1fc750665c4fb4e1b 28-Mar-2008 Rob Landley <rob@landley.net> Update help, move test.sh to scripts, and fix "make test" to call right script.
/external/toybox/Makefile
bf081b9b500f7a18fe225b14b0ab92ed0b0f0ec9 28-Mar-2008 Rob Landley <rob@landley.net> Add uninstall and uninstall_flat.
/external/toybox/Makefile
05fbd1e2b4b12eb3b7b33b1d88f41f8defcc4937 28-Mar-2008 Rob Landley <rob@landley.net> Add install target, and make install_flat use scripts/install.sh
/external/toybox/Makefile
7a585c67ec5f62de1e5bb1a1e44ea8adc5919d28 23-Feb-2008 Rob Landley <rob@landley.net> Don't delete testdir after running test.sh. Add it to make clean instead.
/external/toybox/Makefile
58c850894eb4110044e0fc3dbef1c970d14b7d77 17-Feb-2008 Rob Landley <rob@landley.net> Yet more build dependency tweaks...
/external/toybox/Makefile
5c010f7e4464c89ec38fca61362982aca33edfe1 23-Jan-2008 Rob Landley <rob@landley.net> Might as well make the dependencies slightly more paranoid.
(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.)
/external/toybox/Makefile
41cb696013ffacfca73e92cd164b96f903c60ca1 21-Jan-2008 Rob Landley <rob@landley.net> Hit makefile dependencies so install step doesn't rebuild toybox.
/external/toybox/Makefile
b1aaba1fc8176ac0b7c202a664d2554aa0967116 21-Jan-2008 Rob Landley <rob@landley.net> Zap toylist.h, moving contents of global structures into DEFINE_GLOBALS()
macros in each C file, and making generated/globals.h from that. Rename
"toy" to "this" along the way to avoid toy/toys confusion.
/external/toybox/Makefile
55928b1e0a08d84a5cbc50020f0a8c1024f5b6ce 20-Jan-2008 Rob Landley <rob@landley.net> Move NEWTOY() list from end of toylist.h to generated/newtoys.h.
/external/toybox/Makefile
2896480c4918f2accccb8301bec457a7bff7377e 20-Jan-2008 Rob Landley <rob@landley.net> Zap toys/Config.in and instead create generated/Config.in from contents of
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.)
/external/toybox/Makefile
58ecc3e589c2edc0ef4f33d4419b0b2e7ac6a83d 10-Jan-2008 Rob Landley <rob@landley.net> Move some generated files into the "generated" subdirectory.
/external/toybox/Makefile
ea6387aed235fd75c836138b4e0133918ee86820 09-Dec-2007 Rob Landley <rob@landley.net> Add some more .PHONY targets.
/external/toybox/Makefile
f7bb55bb14128a2b9367e2e089e9930c456f801f 27-Nov-2007 Rob Landley <rob@landley.net> Add a comment about a case that made me stop and think.
/external/toybox/Makefile
d213bc2a8699fc75527dbf23aa320fcdf770014f 25-Nov-2007 Charlie Shepherd <masterdriverz@gentoo.org> Rebuild toybox when a header file changes
/external/toybox/Makefile
6d15f37cd916e445df03805e657f80dc33a07897 10-Nov-2007 Charlie Shepherd <masterdriverz@gentoo.org> Make toybox_unstripped depend upon toys/help.h (so it will be rebuilt when toys/Config.in is updated)
/external/toybox/Makefile
ce8aae448a43d42d8781a72a67235dba8e977aa0 13-Nov-2007 Rob Landley <rob@landley.net> Patch fromm Roberto Foglietta: distclean should remove toys/help.h
/external/toybox/Makefile
064d1b1e5d29f79060c47769da92d51f89bc9edd 06-Nov-2007 Rob Landley <rob@landley.net> Move toybox_old delete (for bloatcheck) from clean to distclean.
/external/toybox/Makefile
34d4ce7d0720687131dcc97cf64ec14687d7c4ec 05-Sep-2007 Rob Landley <rob@landley.net> Move optimizer flags to OPTIMIZE, so "make CC=tcc OPTIMIZE=" is an option.
/external/toybox/Makefile
7ecedea509f9a5484d122c3c430d84954cb7c811 29-Aug-2007 Rob Landley <rob@landley.net> Add "help" command. (Building help/help.h requires python, but I'll ship
that file with release versions.)
/external/toybox/Makefile
e35f2b831201cbe220e97d1b36f8fec3981a9065 18-Jun-2007 Rob Landley <rob@landley.net> Fix makefile to defconfig properly, and leak in a bit of the new test
infrastructure so I don't have to revert it to check this in. :)
/external/toybox/Makefile
171af61b28c5ae5b3e073efbf7c4f87ce1d0fb20 07-Jun-2007 Rob Landley <rob@landley.net> More cross compiling infrastructure.
/external/toybox/Makefile
30d79a1411d584cbb46f8356c82bbbf8702df58d 29-May-2007 Rob Landley <rob@landley.net> Make it easier to specify which compiler to use.
/external/toybox/Makefile
6126b258dc7c11d983ef007459e65a19925c0b2f 13-Mar-2007 Rob Landley <rob@landley.net> Convert HOST_CC to HOSTCC to be more like uClibc build.
/external/toybox/Makefile
2aa494dcfe701e080e62f3d2a36af84b2ee16837 13-Feb-2007 Rob Landley <rob@landley.net> MacOS X has a defective sed with no -r.
/external/toybox/Makefile
fd1c5ba0cbbd31c4713d9283c4fa5c3265ad2296 03-Feb-2007 Rob Landley <rob@landley.net> Teach build to build only the toys/*.c selected in .config, and teach
CFG_TOYSH_DEBUG to shut up the spurious "gcc can't tell that this is never
actually used uninitialized because gcc is stupid" warnings.
/external/toybox/Makefile
edee7ddeb58c706456bba60f5a7aa9a071643c57 31-Jan-2007 Rob Landley <rob@landley.net> Missing comma, and slight simplification in defconfig sed invocation.
/external/toybox/Makefile
de05a7024f4be6826d05c40aa029fe2bbf6d2818 31-Jan-2007 Rob Landley <rob@landley.net> Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
/external/toybox/Makefile
bcfad872188d993efc8d1da4b79058b69e43f019 31-Jan-2007 Rob Landley <rob@landley.net> Add make install_flat.
/external/toybox/Makefile
17afeba9600b264b4f3431d9e772667047bc4e45 04-Jan-2007 Rob Landley <rob@landley.net> Blah. The sed filter's not right, I'll try again later.
/external/toybox/Makefile
e2f796cb70de1d77913228551bbf53b4fdfd1fac 01-Jan-2007 Rob Landley <rob@landley.net> Make some of gcc 4.1's dumber warnings go away.
/external/toybox/Makefile
78b47ff7516150d492b892686eebee41ed1e6a08 27-Nov-2006 Rob Landley <rob@landley.net> Teach clean and distclean to zap more files.
/external/toybox/Makefile
cd2edfd6a13848e387f836252464de4662a22205 27-Nov-2006 Rob Landley <rob@landley.net> Add bloat-o-meter, make bloatcheck, and scripts/showasm.
/external/toybox/Makefile
61a9cc57e791d37c7940d5e5aa83806c0543635b 26-Nov-2006 Rob Landley <rob@landley.net> Reduce flag duplication and make kconfig use HOST_CC.
/external/toybox/Makefile
f06af2bef5fe73c4ff50ed177fab244ed9db9182 25-Nov-2006 Rob Landley <rob@landley.net> Add another warning check and a missing dependency.
/external/toybox/Makefile
7fc43f79783658a38be23ca8b3cdac5f11e397d1 03-Nov-2006 Rob Landley <rob@landley.net> Better dependencies, and feed the linker --gc-sections. (Which is not an
substitute for building just the stuff we need, but is easy to do for now.)
/external/toybox/Makefile
401ae8fe28d8f2da0f3dee5f26cd25e6e235f4b5 02-Nov-2006 Rob Landley <rob@landley.net> Make the config generate gen_config.h with CFG_ and USE() macros.
Add distclean. Make clean have double colons so the kconfig makefile's
clean matches.
/external/toybox/Makefile
09ea7ac1a269db3c9a3b76840b37a7cb1eccbc24 30-Oct-2006 landley <landley@driftwood> Implement df. Add -Wall to build and fix up warnings. Add copyright notices.
Add error_msg() and itoa() to library. Remove argc from globals (since argv is
null terminated), add optflags to globals.
/external/toybox/Makefile
cd9dfc3b7b73715840b63180e2e4bfdb6e7ca9a4 19-Oct-2006 landley <landley@driftwood> Next drop of toysh, plus more infratructure.
/external/toybox/Makefile
c56215062c961402515daeef8330ed75cd94af29 28-Sep-2006 landley <landley@driftwood> Next snapshot. Tries to grab something out of lib in order to build, I have
an empty "blah.c" in there to make it happy but I'm not checking that in.
/external/toybox/Makefile