coreutils: Also build mknod, test and true.

This commit is contained in:
Andrius Štikonas 2021-01-21 21:32:22 +00:00
parent 670a2f0619
commit 3839961f78
2 changed files with 5 additions and 3 deletions

View File

@ -238,7 +238,7 @@ preferred where we can use it, and makes source code sizes smaller.
#### Part 15: coreutils 5.0.0
GNU Coreutils is a collection of widely used utilities such as `cat`, `chmod`, `chown`,
`cp`, `install`, `ln`, `mkdir`, `mv`, `rm`, `rmdir`, `tee`, and many others.
`cp`, `install`, `ln`, `mkdir`, `mknod`, `mv`, `rm`, `rmdir`, `tee`, `test`, `true`, and many others.
A few of the utilities cannot be easily compiled with Mes C library, so we skip them.

View File

@ -61,13 +61,15 @@ CFLAGS = -I . -I lib \
-DHAVE_GETCWD=1 \
-Dmy_strftime=nstrftime \
-DDIR_TO_FD\(Dir_p\)=-1 \
-DUTILS_OPEN_MAX=1000
-DUTILS_OPEN_MAX=1000 \
-Dmajor_t=unsigned \
-Dminor_t=unsigned
.PHONY: all install
SRC_DIR=src
COREUTILS = basename cat chmod cksum csplit cut echo expand factor false fmt fold head id join kill link ln logname mkfifo mkdir nl od paste pathchk printf ptx pwd readlink rmdir seq split sum tail tee touch tr tsort unexpand unlink wc whoami
COREUTILS = basename cat chmod cksum csplit cut echo expand factor false fmt fold head id join kill link ln logname mkfifo mkdir mknod nl od paste pathchk printf ptx pwd readlink rmdir seq split sum tail tee touch tr tsort unexpand unlink wc whoami test true
BINARIES = $(addprefix $(SRC_DIR)/, $(COREUTILS))