aboutsummaryrefslogtreecommitdiff
path: root/scripts
AgeCommit message (Collapse)Author
2020-04-28Use sntp instead of rdate/ntpd, force "sh" and "route" on for now, enableRob Landley
COMPAT_32BIT_TIME to work around new musl calling legacy API.
2020-04-27Fix install error return in non-airlock case and slight cleanup.Rob Landley
2020-04-12Work around qemu bug.Rob Landley
The QEMU console output disables wordwrap (see man 4 console_codes, DECAWM) but doesn't re-enable it, so things like bash command history or tab completion glitch afterwards. QEMU should printf("\e[?7h") on the way out, but doesn't. So make qemu wrapper script do it.
2020-04-11Remove prefix from fs dir (so it's just root/$CROSS/fs), don't search oneitRob Landley
by path, add m68k target.
2020-04-10Document "make root" in make help. (It almost works now!)Rob Landley
2020-04-08Typo.Rob Landley
2020-04-08Tighten up mkroot.sh slightly.Rob Landley
2020-04-08Tell kernel to stop crapping "rng pool init" messages over the command prompt.Rob Landley
2020-04-08More mkroot.sh work.Rob Landley
Replace CROSS_SHORT with CROSS log CROSS=all build output Unset stupid kernel defaults (such as VGA tty /dev nodes). Only pass through standard environment variables, require control vars (LINUX= ALL= CROSS=) to be set on command line. In init script, bring up loopback net and run sub-init scripts if any.
2020-04-06Integrate cross compile support into mkroot, ala "make root CROSS=sh4"Rob Landley
2020-03-15gcc 8.3.0 changed its arm floating point syntax, plus error handling tweaks.Rob Landley
2020-03-13More sh tests.Rob Landley
2020-03-02More cross.sh tweaks.Rob Landley
2020-03-02Move "scripts/cross.sh all" log files into root/log.Rob Landley
2020-03-02Check that cross compiler is there, not linker, before building native.Rob Landley
It builds binutils first, so ld being there doesn't mean cc finished.
2020-03-02Say command name before test result with txpect too.Rob Landley
2020-02-25Fix off by one error that treats bit 31 as negative (so ls --color setsRob Landley
all the bits). While we're at it, make LL be ULL so bit 63 doesn't have the same problem.
2020-02-22Make ASAN=1 affect the HOSTCC-built tools too.Elliott Hughes
Bug: https://github.com/landley/toybox/issues/169
2020-02-22mkflags: fix a sscanf buffer off-by-one.Elliott Hughes
Sadly, the compilers don't even catch this common mistake if you use sscanf_s(3). Luckily, ASan does.
2020-02-17Rename config symbol now that we've worked around the worst of the breakage.Rob Landley
2020-02-17Work around kernel build bug where "make distclean" doesn't work in cp -sfRRob Landley
directory. Downside: this modifies (distcleans) the source directory for an out of tree build, but the alternative is (sometimes subtle) build breaks.
2020-02-17Tighten up build script a little.Rob Landley
2020-02-17For "cross.sh all" announce each target in title bar.Rob Landley
2020-02-17Fix musl-cross-make nommu build (at least for sh2eb).Rob Landley
2020-01-30gcc 8.3 requires different config to build the same toolchain, because gcc.Rob Landley
2020-01-17Denys Nykula noticed leftover debris from trying to turn the /etc/passwdRob Landley
HERE document into an echo ala group. (It wasn't easily coerced into 80 columns and having it be multiple echoes was about as ugly as the HERE document, so I undid it again and missed a bit.)
2020-01-14Convert to smaller config format.Rob Landley
2020-01-09Use /root as root's home dir and create /dev/fd and /dev/shm in devtmpfsRob Landley
2019-12-28Add VERBOSE=xpectRob Landley
2019-12-23Toysh passes two tests now! Woo! (Otherwise, does not remotely work right now.)Rob Landley
2019-12-23Add "texpect" and add a couple simple examples to sh.test.Rob Landley
2019-12-20Making sh single build work broke other single builds. Fix them again.Rob Landley
2019-12-14Any substitute EVAL should supply its own --Rob Landley
2019-12-14Teach "make sh" to make the multiplexer and builtins, even though it's "single".Rob Landley
2019-11-22Sigh. Third attempt to fix trailing slashes in singlemake PREFIX.Rob Landley
(So much jetlag.)
2019-11-20Ahem: work when PREFIX hasn't got trailing / OR when PREFIX is blank.Rob Landley
2019-11-18Work when PREFIX hasn't got trailing /Rob Landley
2019-10-28Only create test file "input" when input argument isn't empty.Rob Landley
2019-10-27fallocate: 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-10-16Fix NOSPACE tests.Rob Landley
2019-10-07Add example to help text.Rob Landley
2019-10-07Better comments and help text.Rob Landley
2019-10-03Let "llvm-cross" be an acceptable cross compiler directory name.Rob Landley
2019-09-20ASAN=1 implies NOSTRIP=1, and don't say strip failed for NOSTRIP.Rob Landley
2019-09-07More work on mkroot.sh.Rob Landley
2019-09-07airlock still needs gzip compression side for kernel build.Rob Landley
2019-09-07Don't have cross.sh bother with "output" directory, make root uses differentRob Landley
subdir name now anyway, and making toybox isn't in a subdir.
2019-09-06Update paths for scripts/cross.sh being in subdir instead of ./cross.sh.Rob Landley
2019-09-06Update airlock targets.Rob Landley
2019-09-06Add cross.sh to cross compile for one or more targets, and tweak make.sh toRob Landley
produce different output names for different ${TARGET}s.