From 670a2f0619f0d6f562df673661cb6dbdc9f9c132 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Thu, 21 Jan 2021 21:30:31 +0000 Subject: [PATCH 1/2] Update README. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 052029e7..2e12bddf 100644 --- a/README.md +++ b/README.md @@ -237,14 +237,14 @@ preferred where we can use it, and makes source code sizes smaller. #### Part 15: coreutils 5.0.0 -Coreutils is a collection on widely used utilities such as cat, chmod, chown, -cp, install, ln, mkdir, mv, rm, rmdir, tee, and many others. +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. A few of the utilities cannot be easily compiled with Mes C library, so we skip them. #### Part 16: grep 2.4 -grep is a pattern matching utility. Is is not immediately needed but will +GNU `grep` is a pattern matching utility. Is is not immediately needed but will be useful later for autotools. #### Part 17: bash 2.05b From 3839961f78c2130ed62393df25f39200cb2d993d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Thu, 21 Jan 2021 21:32:22 +0000 Subject: [PATCH 2/2] coreutils: Also build mknod, test and true. --- README.md | 2 +- sysa/coreutils-5.0/mk/main.mk | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 2e12bddf..563522de 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 dacfcf91..d677c272 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))