busybox/coreutils
Samuel Thibault 77216c368f Fix non-Linux builds
Various tools are Linuxish and should thus only attempted to build on
Linux only. Some features are also Linux-only.

Also, libresolv is used on all GNU platforms, notably GNU/Hurd and
GNU/kfreeBSD.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2022-11-29 14:10:22 +01:00
..
libcoreutils
basename.c basename: implement -a and -s SUFFIX 2021-09-09 23:45:13 +02:00
cat.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
chgrp.c *: --help tweaks 2021-06-14 20:47:20 +02:00
chmod.c libbb: eliminate a static data array in bb_mode_string() 2021-09-17 01:18:31 +02:00
chown.c *: --help tweaks 2021-06-14 20:47:20 +02:00
chroot.c
cksum.c crc32: code shrink for !CKSUM config 2021-06-22 10:24:06 +02:00
comm.c
Config.src config system: move some options closer to relevalnt tool subdirectories 2021-10-12 13:23:29 +02:00
cp.c cp: fix build failure with long options disabled 2021-08-15 18:26:56 +02:00
cut.c *: style fix 2022-08-30 16:41:17 +02:00
date.c date,touch: allow timezone offsets in dates 2021-09-17 00:11:30 +02:00
dd.c Fix non-Linux builds 2022-11-29 14:10:22 +01:00
df.c config system: move some options closer to relevalnt tool subdirectories 2021-10-12 13:23:29 +02:00
dirname.c
dos2unix.c
du.c du: support -b "apparent size" 2021-06-16 17:45:28 +02:00
echo.c echo: add FIXME comment 2021-12-29 07:26:23 +01:00
env.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
expand.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
expr.c *: --help tweaks 2021-06-13 01:08:48 +02:00
factor.c factor: fix comment 2020-12-23 02:03:04 +01:00
false.c
fold.c *: --help text tweaks 2021-04-14 15:15:45 +02:00
head.c libbb: shrink lineedit_read_key() 2022-01-18 00:36:42 +01:00
hostid.c
id_test.sh
id.c *: --help tweaks 2021-06-14 20:47:20 +02:00
install.c
Kbuild.src
link.c
ln.c help text: replace [OPTIONS] with actual options (if not too long) 2020-12-13 22:34:05 +01:00
logname.c libbb: reduce the overhead of single parameter bb_error_msg() calls 2019-07-02 11:35:03 +02:00
ls.c ls: implement ls -sh (human-readable allocated blocks) 2022-01-08 22:59:49 +01:00
md5_sha1_sum.c shaNNNsum: accept one-space "HASH FILENAME" format for -c, closes 14866 2022-07-11 14:36:39 +02:00
mkdir.c help text tweaks 2020-12-13 19:04:19 +01:00
mkfifo.c
mknod.c Fix mknod compilation on the FreeBSD 2021-01-04 13:28:28 +01:00
mktemp.c mktemp: add --tmpdir option 2021-10-08 21:02:56 +02:00
mv.c cp,mv: fix -t DIR option 2021-06-25 00:23:29 +02:00
nice.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
nl.c nl: ensure '-b n' option displays file content 2021-02-02 17:37:41 +01:00
nohup.c
nproc.c nproc: code shrink 2021-06-24 13:47:49 +02:00
od_bloaty.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
od.c *: slap on a few ALIGN* where appropriate 2022-02-06 19:53:10 +01:00
paste.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
printenv.c
printf.c printf: allow 0 as a flag and allow multiple flags 2021-12-17 21:13:26 +01:00
pwd.c
readlink.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
realpath.c *: --help text tweaks 2021-04-14 15:15:45 +02:00
rm.c
rmdir.c help text tweaks 2020-12-13 19:04:19 +01:00
seq.c
shred.c shred: with -u, unlink file even if it is zero length 2021-06-20 13:48:21 +02:00
shuf.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
sleep.c ash: optional sleep builtin 2022-08-27 19:56:21 +02:00
sort.c sort: fix sort -s -u, closes 14871 2022-07-29 16:40:00 +02:00
split.c decrease paddign: gcc-9.3.1 slaps 32-byte alignment on arrays willy-nilly 2020-11-30 13:03:03 +01:00
stat.c libbb: eliminate a static data array in bb_mode_string() 2021-09-17 01:18:31 +02:00
stty.c libbb: introduce and use fputs_stdout 2021-02-03 20:52:40 +01:00
sum.c
sync.c
tac.c
tail.c tail: do not lose the tail of old file if new file (-F) is detected 2021-06-02 05:17:44 +02:00
tee.c
test_ptr_hack.c
test.c *: style fix 2022-08-30 16:41:17 +02:00
timeout.c timeout: add support for "timeout -k KILL_SECS" 2021-12-17 23:11:17 +01:00
touch.c date,touch: allow timezone offsets in dates 2021-09-17 00:11:30 +02:00
tr.c
true.c
truncate.c *: --help text tweaks 2021-04-14 15:15:45 +02:00
tsort.c tsort: new applet 2022-05-02 14:25:36 +02:00
tty.c *: more --help tweaks, mostly expanding ts --help 2021-06-13 03:12:09 +02:00
uname.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
uniq.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
unlink.c
usleep.c
uudecode.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
uuencode.c libbb: factor out fflush_stdout_and_exit(EXIT_SUCCESS) 2022-01-04 23:31:58 +01:00
wc.c *: --help text tweaks 2021-04-14 15:15:45 +02:00
who.c *: more --help tweaks 2021-06-15 10:00:18 +02:00
whoami.c
yes.c *: more --help tweaks, mostly expanding ts --help 2021-06-13 03:12:09 +02:00