Age | Commit message (Collapse) | Author | |
---|---|---|---|
2018-12-26 | Teach the argument plumbing how to do -@ for mkfs.vfat | Rob Landley | |
2018-12-25 | Simplify the mkflags logic a bit. | Rob Landley | |
We're not going to USE_BLAH("a")"(longopt)" or similarly crazy corner cases, so don't try to support them. | |||
2018-12-05 | macOS: iconv(1) needs libiconv on the mac. | Elliott Hughes | |
2018-12-03 | Break runtest.sh out again: the Android devs were using it. | Rob Landley | |
2018-12-02 | Teach testcmd to say short name rather than full path. | Rob Landley | |
2018-12-02 | Merge runtest.sh into test.sh. | Rob Landley | |
2018-11-30 | macOS: Apple's ancient linker doesn't have --as-needed or --gc-sections. | Elliott Hughes | |
2018-11-28 | macOS: use -E rather than -r for sed extended regular expressions. | Elliott Hughes | |
GNU sed supports -E, -r, and --regexp-extended. BSD sed only supports -r. | |||
2018-11-20 | Skip tests that don't have the executable bit set unless $TEST_ALL set. | Rob Landley | |
2018-11-01 | Discard harmless error messages. | Rob Landley | |
genbuild() is a bunch of echo statements, and with enough parallelism piping its output to "head" can close the pipe before all the echo statements have run, then they complain about writing to a closed pipe. (We're intentionally discarding the output, it's not an error, so...) | |||
2018-10-27 | Don't unnecessarily recalculate library list. | Rob Landley | |
2018-10-27 | Fix "make distclean defconfig toybox" all on one line (good of $CROSS_COMPILER | Rob Landley | |
changed), better error message when .config missing. | |||
2018-10-27 | Allow unstripped build to overwrite read-only output file. | Rob Landley | |
(Output file is read only because broken installs that write to the old filename will truncate+overwrite toybox binary otherwise.) | |||
2018-10-21 | Add % to lib/args.c (long time in milliseconds), add xmillitime(), redo | Rob Landley | |
xparsetime() not to need floating point, adjust callers. | |||
2018-10-06 | Check for cross compiler before creating any generated/* files w/probed vals. | Rob Landley | |
2018-10-05 | getconf: fix glibc NPROCESSORS_ONLN. | Elliott Hughes | |
glibc doesn't have _XOPEN_UUCP (though bionic does), which meant that the generated array of values was out of sync with the hand-written array of names. This patch removes that by using a unified array and the preprocessor. A side benefit of this for me is that it makes toybox easier to integrate in the AOSP build system (the less shell script magic, the better). | |||
2018-08-03 | Don't include toys.h and lib/*.c in config2help.c, the host vs cross compiler | Rob Landley | |
build context (probes for portability.h) is too fiddly to keep stright, just copy the parts we need into the host tool. | |||
2018-07-04 | Add xgetrandom() with probe for new system call (else open/read /dev/{,u}random) | Rob Landley | |
2018-06-26 | The prlimit probe broke when implicit function declarations became an error | Rob Landley | |
(see comment in ulimit.c about the glibc header bug), so copy prototype into the probe too. Without this ulimit always disabled by config probe. | |||
2018-06-21 | Elliott pointed out that ping's been promoted, not needed in airlock list. | Rob Landley | |
2018-06-19 | The kernel's old kconfig had _shipped files, the new one should too, but until | Rob Landley | |
then install bison and flex. (Not yacc and lex, the kernel build is calling the propreitary versions.) | |||
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). |