diff options
author | Ian Moffett <ian@osmora.org> | 2024-03-07 22:47:49 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-03-07 23:00:20 -0500 |
commit | 39ed0640f0e33b8a48ba82334de219e9fe4ed0e6 (patch) | |
tree | e027a5b155707bfc2bc2710a4a3dfe72f01cef38 /Makefile.in | |
parent | 3154c067ebd5e23b8be9693a1a790c70a9634344 (diff) |
kernel: sched: Add support for user threads
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Makefile.in b/Makefile.in index daa0cf9..5e99728 100644 --- a/Makefile.in +++ b/Makefile.in @@ -69,16 +69,22 @@ override KERNEL_ASMOBJECTS = $(KERNEL_ASMFILES:.S=.S.o) override KERNEL_HEADER_DEPS = $(KERNEL_CFILES:.c=.d) .PHONY: all -all: base init lib base/usr/lib/ld.so base/boot/hyra-kernel +all: base lib userland base/usr/lib/ld.so base/boot/hyra-kernel rm -f sys/include/machine rm -rf iso_root -base/boot/init: usr.sbin/init/ +base/usr/sbin/init: cd usr.sbin/; make CC=$(CC) LD=$(LD) - cp usr.sbin/init/init base/boot/ + mv usr.sbin/init/init base/usr/sbin/ + +# TODO: Make this more flexible +.PHONY: userland +userland: base/usr/sbin/init base: mkdir -p base/usr/lib/ + mkdir -p base/usr/sbin/ + mkdir -p base/boot/ lib: lib/mlibc base/usr/lib/ld.so |