Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-06-03 | call strip as $STRIP | Francesco Valla | |
This is useful e.g. for cross toolchains that define $CC and $STRIP instead of $CROSS_COMPILE. | |||
2018-04-13 | Add getconf. | Rob Landley | |
2018-04-08 | Add -- to "eval". | Rob Landley | |
If you ever do have a command name beginning with a -, eval won't run it by default, because even though it takes no arguments it tries to parse them anyway, so it complains it's an unrecognized argument. Solution: -- as first argument (which is parsed and stops argument parsing). | |||
2018-04-08 | Fix error message: update $NAME before complaining about test with wrong # args. | Rob Landley | |
2018-04-02 | Library probes need $LDFLAGS (for --static) | Rob Landley | |
2018-03-19 | Ryan Prichard pointed out that du -d0 should act like du -s, but the plumbing | Rob Landley | |
wouldn't let him assign a negative default value, so I fixed it. | |||
2018-01-21 | Fix variables in help.txt | Reverend Homer | |
2018-01-10 | Move make help text out of Makefile. | Rob Landley | |
2017-10-03 | Workaround from Patrick Oppenlander for a bug in config2help.h that resulted0.7.5 | Rob Landley | |
in segfaults on newer toolchains. (That entire section is due for a rewrite.) | |||
2017-08-06 | Check for .git before setting GITHASH. | Rob Landley | |
The GITHASH problem was building a tarball version under an existing git repo, where git describe found ../../../../.git so only call git if we have a .git directory in the source. | |||
2017-08-05 | Allow GITHASH to be set on the command line, to work around a yocto bug. | Rob Landley | |
2017-07-22 | testcmd should only use absolute path to command when not doing TEST_HOST. | Rob Landley | |
2017-06-13 | config2help.c: Rename trim() to skip_spaces(), fluff out comments a bit. | Rob Landley | |
2017-05-14 | Minor tweaks to install.sh. | Rob Landley | |
2017-04-30 | Android NDK doesn't have cutils/sched_policy.h so add a probed config symbol. | Rob Landley | |
2017-04-30 | Android needs -llog to link. | Elliott Hughes | |
2017-04-30 | Implement zlib-based gzip/gunzip/zcat. | Elliott Hughes | |
2017-04-18 | The kernel needs bc to build because | Rob Landley | |
https://landley.net/notes-2013.html#28-03-2013 so add it to the airlock install. | |||
2017-04-04 | Add "testcmd" function as an alternative to "testing" for tests/*.test, and | Rob Landley | |
check in two converted commands. | |||
2017-03-20 | Add TOYBOX_PEDANTIC_ARGS to check arguments when there are no arguments, | Rob Landley | |
and make uptime use it. | |||
2017-02-01 | Build dependency tweak. | Rob Landley | |
2016-12-08 | Have make airlock just warn about missing commands unless $PEDANTIC is sent. | Rob Landley | |
2016-12-08 | Workaround for Centos' "which" complaining if it can't find the command | Rob Landley | |
(instead of just producing no output on stdout like everybody else). | |||
2016-12-07 | Thinko in recent longopt commit. | Rob Landley | |
2016-12-07 | Change error test to actually exit if first attempt to use .config fails. | Rob Landley | |
2016-12-07 | People keep wanting to cross-compile from macs, where the stock sed is broken. | Rob Landley | |
So use $SED to indicate the sed to use, and set it to 'gsed' if available. | |||
2016-12-07 | Bugfix: configuring out a longopt confused the option parsing. | Rob Landley | |
(This made ls -l not work when LS_COLOR was off.) | |||
2016-10-20 | Always regenerate config.h for now, so make single and make don't clash. | Rob Landley | |
The problem is that .config and .singleconfig produce the same header file, so checking that the header is newer than the .config file won't help if it was last generated from the other file. | |||
2016-10-18 | Test infrastructure: collate make "test_single" and "make tests" into common | Rob Landley | |
function, and add $C variable with an absolute path to the command being tested (you need to call things like printf by path to avoid shell builtins, might as well be consistent). | |||
2016-10-02 | Add install_airlock target for hermetic build environment setup, and rebuild | Rob Landley | |
headers during install to make other install targets robust against single command builds between "make" and "make install" of multiplexer version. | |||
2016-09-28 | Kernels between 2006 and 2010 (such as the one in Centos 6.6) provide unshare() | Rob Landley | |
but not nsenter(). So probe for both. | |||
2016-09-04 | make test_cmp caused the make invocation to exit with an error because the | Rob Landley | |
last test exited with nonzero status and the script preserved it. In the current context, that's counterproductive. | |||
2016-07-17 | The recent option parsing changes broke the multiplexer, because the "toybox" | Rob Landley | |
command was trying to parse their options and failing. (Commands that aren't just disabled but have no option string even in the allyesconfig case need an OPTSTR of 0.) This is probably only a partial fix, there's some design work to think through here. | |||
2016-07-15 | Add optional openssl accelerated versions of hash functions, loosely based on | Rob Landley | |
a patch from Elliott Hughes, who said: [PATCH] Add support for libcrypto for MD5/SHA. Orders of magnitude faster (for architectures where OpenSSL/BoringSSL has optimized assembler). Also adds sha224sum, sha256sum, sha384sum, and sha512sum for folks building with libcrypto. The fallback portable C implementations could easily be refactored to be API-compatible, but I don't know whether they'd stay here or move to lib/ so I've left that part alone for now. | |||
2016-07-05 | Fix generated/make.sh. (Quotes in TOYBOX_VERSION need to wind up in | Rob Landley | |
resulting macro.) | |||
2016-06-30 | Fix option parsing infrastructure bug. | Rob Landley | |
In main.c: used adjusted string with placeholers for removed options (so flag values don't move based on config, allowing FORCE_FLAGS to work). In scripts/mkflags.c: test was wrong, a bare longopt never matches a single letter command, but it was treated as always matching when comparing allyesconfig vs current config to determine which options were disabled, so there was a corner case that got the flag values wrong. | |||
2016-06-30 | Add NOSPACE=1 to allow tests to pass with diff -b | Rob Landley | |
2016-05-26 | Stabilize another sort. | Elliott Hughes | |
Unstable sorting means confusing diffs if you're checking in the generated files. (Which I shouldn't be doing, but getting this bundle of random scripts into Android's build system isn't going to be easy...) | |||
2016-05-20 | Make build dependencies more granular. This should fix the problem where | Rob Landley | |
"make top; make ps" produces a ps that can't do -A because generated/obj/ps.o didn't get rebuilt. | |||
2016-04-22 | Allow EVAL= to run test under a different shell (for sh.test) | Rob Landley | |
2016-04-20 | Replace list_working with just list, "make list list_pending" shows combined ↵ | Rob Landley | |
list. | |||
2016-03-23 | Fix bzcat.test (as noted by Andy Chu), wean tests off $TOPDIR and supply $FILES | Rob Landley | |
instead, move tests/blkid into tests/files/blkid. | |||
2016-03-23 | Redo build stuff in response to Andy Chu's suggestions. | Rob Landley | |
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!) | |||
2016-03-12 | Update scripts/single.sh and cp.c so "make mv" isn't actually building cp. | Rob Landley | |
2016-03-02 | Factor out command name at the start of test name, have runtest.sh print it. | Rob Landley | |
2016-03-01 | The last-ever release of uClibc hasn't got prlimit, so probe. | Rob Landley | |
2016-03-01 | Use shell builtins instead of calling wc/awk/sed. (Fewer forks in build loop.) | Rob Landley | |
Based on suggestions from Nicholas Boichat. | |||
2016-03-01 | config2help: add missing ctype.h include | Mike Frysinger | |
This file uses isspace which is defined in the ctype.h header. | |||
2016-02-26 | Switch to $! for make.sh process enumeration. | Rob Landley | |
2016-02-25 | Musl needs an extra #include. | Rob Landley | |