Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-01 | Ahem. The new copy_file_range() check needs the config symbol probe. | Rob Landley | |
2020-05-19 | The standalone build for "make sh" has more dependencies because MAYFORK. | Rob Landley | |
2020-02-17 | Rename config symbol now that we've worked around the worst of the breakage. | Rob Landley | |
2019-10-27 | fallocate: remove uClibc workaround to benefit macOS. | Elliott Hughes | |
My understanding is that uClibc is dead, and the probe for fallocate would need to be made more complicated to work for macOS (where we fake posix_fallocate() in lib/portability.c). | |||
2019-08-22 | Quiet "make clean" so it doesn't fill a whole screen with output. | Rob Landley | |
2019-08-21 | Fix the unshare probe. | Rob Landley | |
2019-05-02 | Android moved the scheduler policy functions in Q. | Elliott Hughes | |
They're forwarded to libprocessgroup, but we may as well go straight to the source since neither library is in the NDK anyway. This code is unfortunate because it means that even `toybox true` ends up pulling in a JSON parser at runtime, because ps might call get_sched_policy/get_sched_policy_name. I'll experiment with dlopen-on-demand in portability.c and see whether the savings are worthwhile, but for now at least use the current library directly so we can save *one* dlopen! | |||
2019-03-21 | Test for compiler existence when sourcing portability.sh. | Rob Landley | |
2019-01-19 | Factor out scripts/portability.sh and have genconfig.sh use it to find sed/gsed. | Rob Landley | |
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-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. | |||
2017-04-30 | Android NDK doesn't have cutils/sched_policy.h so add a probed config symbol. | Rob Landley | |
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-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-04-20 | Replace list_working with just list, "make list list_pending" shows combined ↵ | Rob Landley | |
list. | |||
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-01 | The last-ever release of uClibc hasn't got prlimit, so probe. | Rob Landley | |
2016-02-19 | Add test_COMMAND for each command, update "make help" to describe TEST_HOST | Rob Landley | |
and VERBOSE=fail, and fix a quote mismatch. | |||
2016-02-14 | Add "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-07 | Dependencies for "make COMMAND" | Rob Landley | |
2016-02-07 | Add "make ls" and friends targets, with "make working" and "make pending" lists. | Rob Landley | |
2015-08-29 | Menuconfig option for musl-libc pretending mmu is just pining for the fijords. | Rob Landley | |
2015-07-03 | Probe for fork() instead of relying on a distro-specific #define. | Rob Landley | |
2015-05-09 | Probe for -Wno-string-plus-int. | Rob Landley | |
LLVM has its own nuts warnings about things that aren't wrong, but disabling them with the relevant -Wno-* warning disabling command line option drives gcc nuts because it's a command line option it doesn't recognize. (gcc 4.2.1 dies with an error. gcc 4.6 warns about it _only_ if it's warning about something else. (PICK ONE, either you warn about this or you don't, distract people from actual problems with noise about something clearly unrelated to what just changed is extra-stupid.) So just probe for it, and add the flag only if it doesn't complain about it while we're producing an unrelated warning. | |||
2015-04-19 | Cleanup getprop, add qstrcmp() to lib for qsort (because posix-2008 broke | Rob Landley | |
alphasort), add compile-time probe for config symbol TOYBOX_ON_ANDROID. | |||
2015-01-16 | AOSP master has <pty.h> and builds netcat/nc. | Elliott Hughes | |
2014-11-19 | Fixups for the android/bionic build probes patch. | Rob Landley | |
The CFG_* symbols are always defined so if() can use them as compile-time constants, so don't if defined() them. Doing USE_BLAH() around variable definitions opens up the same potential for config-dependent build breaks as #ifdefs do, just make the whole command depend on the symbol for now, factor out the utmpx infrastructure later. The PTY probe was always failing because it used NULL without #including the header that defines it. Substitute 0 instead. | |||
2014-11-19 | probe for getspnam(), forkpty(), utmpx, replace sethostname() | Isaac Dunham | |
Android is missing all of these; we need to probe for some so we have a config symbol to depend on. sethostname() is easily replaced. We got termios.h via pty.h; now it's not included in configure-step tools, so we need termios.h to generate globals. | |||
2014-06-28 | Add fallocate probe for uClibc. | Rob Landley | |
2014-04-23 | Add example directory, move hello.c into it, add skeleton.c to demonstrate ↵ | Rob Landley | |
more complciated stuff (multiple commands per file, etc), and have genconfig.sh sort backwards so posix is first and example last in menuconfig. | |||
2014-04-23 | As long as uClibc's still around and requires you to jump through hoops to ↵ | Rob Landley | |
get iconv(), probe and build defconfig without it if it's not there. | |||
2014-04-16 | Probe for the existence of FIFREEZE and make fsfreeze depend on it. | Rob Landley | |
2014-04-15 | Probes 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. | |||
2013-04-16 | Make genconfig use CFLAGS because building against a libc that isn't ↵ | Rob Landley | |
installed on the host may need --static to run the results. | |||
2013-03-11 | Compile time probe to fish O_NOFOLLOW out of linux headers when fcntl ↵0.4.4 | Rob Landley | |
doesn't conform to posix-2008. | |||
2012-12-10 | Add stat submission to new "pending" directory, along with infrastructure to ↵ | Rob Landley | |
support pending. | |||
2012-12-08 | Add README file to each toys/ directory, teach build infrastructure to get ↵ | Rob Landley | |
fancy name from that. This means adding new directories shouldn't require touching build scripts. | |||
2012-08-25 | Move commands into "posix", "lsb", and "other" menus/directories. | Rob Landley | |
2012-03-19 | Have probe for unshare test for actual unshare() function in libc. | Rob Landley | |
2012-03-04 | Fix build on slackware-current. | Georgi Chorbadzhiyski | |
2012-03-03 | Fix from Georgi Chorbadzhiyski to make cross compiling more robust.0.2.1 | Rob Landley | |
2012-02-23 | Don't mix the the probed symbols with the command symbols. | Rob Landley | |
2012-02-13 | The unshare test needs $CC defined, source configure to get it. | Rob Landley | |
2012-02-03 | Add autodetect for container support. | Rob Landley | |
2008-01-20 | Fluff out hello.c to supply more example code as a skeleton for new commands, | Rob Landley | |
and update a chunk of code.html (much more to do there). | |||
2008-01-19 | Zap toys/Config.in and instead create generated/Config.in from contents of | Rob 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.) |