From 47cc65d2231dbd9acaedbe1ee0542ef4293aeddb Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Tue, 19 Aug 2025 17:30:00 +0000 Subject: usr: osh: Seperate 'reboot' command from builtins Gives the reboot command its own binary in /usr/bin/reboot Signed-off-by: Ian Moffett --- usr.bin/reboot/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 usr.bin/reboot/Makefile (limited to 'usr.bin/reboot/Makefile') diff --git a/usr.bin/reboot/Makefile b/usr.bin/reboot/Makefile new file mode 100644 index 0000000..3700676 --- /dev/null +++ b/usr.bin/reboot/Makefile @@ -0,0 +1,6 @@ +include user.mk + +CFILES = $(shell find . -name "*.c") + +$(ROOT)/base/usr/bin/reboot: + gcc $(CFILES) -o $@ $(INTERNAL_CFLAGS) -- cgit v1.2.3