From 23dd48314900691c8f1cebbc7f592104a36fe2ab Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sun, 8 Jun 2025 03:35:11 -0400 Subject: usr.bin: Add 'time' command to return current time - Add usr.bin/time/ program to read RTC - Add 'time' command to osh Signed-off-by: Ian Moffett --- usr.bin/time/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 usr.bin/time/Makefile (limited to 'usr.bin/time/Makefile') diff --git a/usr.bin/time/Makefile b/usr.bin/time/Makefile new file mode 100644 index 0000000..9ac98b4 --- /dev/null +++ b/usr.bin/time/Makefile @@ -0,0 +1,6 @@ +include user.mk + +CFILES = $(shell find . -name "*.c") + +$(ROOT)/base/usr/bin/time: + gcc $(CFILES) -Iinclude/ -o $@ $(INTERNAL_CFLAGS) -- cgit v1.2.3