proc: setup usr.bin

Signed-off-by: Michael Shaw <m@michaelsshaw.com>
This commit is contained in:
Michael Shaw 2026-07-18 23:21:44 -04:00
commit cc84d4a5a2
5 changed files with 6 additions and 66 deletions

View file

@ -76,6 +76,7 @@ export INITRAMFS
PHONY: default
default:
$(Q)compiledb -n $(MAKE) --no-print-directory $(KERNEL)
$(Q)compiledb -n $(MAKE) -C usr.bin
$(Q)$(MAKE) --no-print-directory $(KERNEL)
.PHONY: all
@ -85,11 +86,11 @@ all: $(KERNEL)
.PHONY: __build_all
__build_all:
$(Q)$(MAKE) --no-print-directory -f scripts/Makefile.build _all obj=.
$(Q)$(MAKE) --no-print-directory -C usr.bin
$(KOBJ): __build_all
$(KERNEL): $(KOBJ) linker.ld
$(Q)$(MAKE) --no-print-directory -C usr.bin
$(Q)echo " LD $@"
$(Q)$(LD) $(KOBJ) $(LDFLAGS) -T linker.ld -o $@