History log of /external/toybox/scripts/genconfig.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c99cbd12ca56cadbd5d3dc6dfc77508701d94130 28-Sep-2016 Rob Landley <rob@landley.net> Kernels between 2006 and 2010 (such as the one in Centos 6.6) provide unshare()
but not nsenter(). So probe for both.
/external/toybox/scripts/genconfig.sh
0ca829ce874d3e8cdec33773eae5d33a7fcc2aab 25-May-2016 Elliott Hughes <enh@google.com> Stabilize another sort.

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...)
/external/toybox/scripts/genconfig.sh
a59951489ecf4375f12821c2a270b497ec9748e0 20-Apr-2016 Rob Landley <rob@landley.net> Replace list_working with just list, "make list list_pending" shows combined list.
/external/toybox/scripts/genconfig.sh
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/scripts/genconfig.sh
323819c689448fffcf4d3ed20f2485b75ac64b64 02-Mar-2016 Rob Landley <rob@landley.net> The last-ever release of uClibc hasn't got prlimit, so probe.
/external/toybox/scripts/genconfig.sh
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/scripts/genconfig.sh
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/scripts/genconfig.sh
9b14cb6aa57c56080bbbc0db85027c3f834fb06f 08-Feb-2016 Rob Landley <rob@landley.net> Dependencies for "make COMMAND"
/external/toybox/scripts/genconfig.sh
712e43ef7c92e8903e6f9d7ca261a420c566d299 08-Feb-2016 Rob Landley <rob@landley.net> Add "make ls" and friends targets, with "make working" and "make pending" lists.
/external/toybox/scripts/genconfig.sh
8c588d822a4771420fa32571693f728e809bb2f2 30-Aug-2015 Rob Landley <rob@landley.net> Menuconfig option for musl-libc pretending mmu is just pining for the fijords.
/external/toybox/scripts/genconfig.sh
9933273c5b7b6e0471d9195e8c2facb795b795ae 03-Jul-2015 Rob Landley <rob@landley.net> Probe for fork() instead of relying on a distro-specific #define.
/external/toybox/scripts/genconfig.sh
a913d92bad6550e005a3ffac71a82586042171b5 10-May-2015 Rob Landley <rob@landley.net> Probe for -Wno-string-plus-int.

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.
/external/toybox/scripts/genconfig.sh
5b493dc48db03c7e27c8ce002fe216bcd778fe92 20-Apr-2015 Rob Landley <rob@landley.net> Cleanup getprop, add qstrcmp() to lib for qsort (because posix-2008 broke
alphasort), add compile-time probe for config symbol TOYBOX_ON_ANDROID.
/external/toybox/scripts/genconfig.sh
c2415d16a8991e2192bda002baab840bfa4d5d79 16-Jan-2015 Elliott Hughes <enh@google.com> AOSP master has <pty.h> and builds netcat/nc.
/external/toybox/scripts/genconfig.sh
561478541dbeb92e2c82c2fda7b43461293938e9 19-Nov-2014 Rob Landley <rob@landley.net> Fixups for the android/bionic build probes patch.

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.
/external/toybox/scripts/genconfig.sh
46ddf0e34b03f7711a9c80f7a70dc8cbf732f782 19-Nov-2014 Isaac Dunham <ibid.ag@gmail.com> probe for getspnam(), forkpty(), utmpx, replace sethostname()

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.
/external/toybox/scripts/genconfig.sh
434cefb863591eebbf29a0b9ff73a529fc731be1 29-Jun-2014 Rob Landley <rob@landley.net> Add fallocate probe for uClibc.
/external/toybox/scripts/genconfig.sh
f9070f36adfaf1b5c175768fb7169b9ff79da21d 24-Apr-2014 Rob Landley <rob@landley.net> Add example directory, move hello.c into it, add skeleton.c to demonstrate more complciated stuff (multiple commands per file, etc), and have genconfig.sh sort backwards so posix is first and example last in menuconfig.
/external/toybox/scripts/genconfig.sh
5fe77cf9ed586a84c5ccd289154d0b543d2b4949 23-Apr-2014 Rob Landley <rob@landley.net> As long as uClibc's still around and requires you to jump through hoops to get iconv(), probe and build defconfig without it if it's not there.
/external/toybox/scripts/genconfig.sh
76e1cb3ada7fb12f38e248a08c2deedc5c9ce888 16-Apr-2014 Rob Landley <rob@landley.net> Probe for the existence of FIFREEZE and make fsfreeze depend on it.
/external/toybox/scripts/genconfig.sh
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/scripts/genconfig.sh
ac1d20a607f2f701a24888864d307855cfaf33a4 17-Apr-2013 Rob Landley <rob@landley.net> Make genconfig use CFLAGS because building against a libc that isn't installed on the host may need --static to run the results.
/external/toybox/scripts/genconfig.sh
25b043bff9de65abc0926c04053f3ba5ea8f30f7 12-Mar-2013 Rob Landley <rob@landley.net> Compile time probe to fish O_NOFOLLOW out of linux headers when fcntl doesn't conform to posix-2008.
/external/toybox/scripts/genconfig.sh
b1c002ac55339d7b7ec53214397f841c56cf6488 11-Dec-2012 Rob Landley <rob@landley.net> Add stat submission to new "pending" directory, along with infrastructure to support pending.
/external/toybox/scripts/genconfig.sh
aa777fe07df104e8d33b958fb4e19c81245ac9a3 09-Dec-2012 Rob Landley <rob@landley.net> Add README file to each toys/ directory, teach build infrastructure to get fancy name from that. This means adding new directories shouldn't require touching build scripts.
/external/toybox/scripts/genconfig.sh
3a9241add947cb6d24b5de7a8927517426a78795 25-Aug-2012 Rob Landley <rob@landley.net> Move commands into "posix", "lsb", and "other" menus/directories.
/external/toybox/scripts/genconfig.sh
f9fdd3c2ffe6cb4e1450cfcedad66a1e69f90bb6 20-Mar-2012 Rob Landley <rob@landley.net> Have probe for unshare test for actual unshare() function in libc.
/external/toybox/scripts/genconfig.sh
2c27fcfa8d1509567d39851dad8f847c70bcdfb7 04-Mar-2012 Georgi Chorbadzhiyski <gf@unixsol.org> Fix build on slackware-current.
/external/toybox/scripts/genconfig.sh
344c267e9fe5c6a39efdbf0305bd873d5bef65f3 03-Mar-2012 Rob Landley <rob@landley.net> Fix from Georgi Chorbadzhiyski to make cross compiling more robust.
/external/toybox/scripts/genconfig.sh
1b7ad01f5e5ead83fbc06ff20248b085a15dc279 24-Feb-2012 Rob Landley <rob@landley.net> Don't mix the the probed symbols with the command symbols.
/external/toybox/scripts/genconfig.sh
2bd3a5df73723ef3aa274aab2d18de0ad9b31e25 13-Feb-2012 Rob Landley <rob@landley.net> The unshare test needs $CC defined, source configure to get it.
/external/toybox/scripts/genconfig.sh
27f5779a7a3d71cd26107d26330c67445341e879 04-Feb-2012 Rob Landley <rob@landley.net> Add autodetect for container support.
/external/toybox/scripts/genconfig.sh
7c04f01bc73082a170c9a1988bf62c2428acc4f9 21-Jan-2008 Rob Landley <rob@landley.net> Fluff out hello.c to supply more example code as a skeleton for new commands,
and update a chunk of code.html (much more to do there).
/external/toybox/scripts/genconfig.sh
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/scripts/genconfig.sh