diff --git a/README.md b/README.md index 2e12bdd..563522d 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/sysa/coreutils-5.0/mk/main.mk b/sysa/coreutils-5.0/mk/main.mk index dacfcf9..d677c27 100644 --- a/sysa/coreutils-5.0/mk/main.mk +++ b/sysa/coreutils-5.0/mk/main.mk @@ -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))