This commit is contained in:
fekhesk 2022-10-26 17:21:58 -07:00
parent 1d810657ff
commit 10df1c6cfa
No known key found for this signature in database
GPG key ID: 6B3D8CB511646891
8 changed files with 149 additions and 27 deletions

View file

@ -44,7 +44,7 @@ $(final): $(kernel) $(linker_script) $(assembly_object_files)
--gc-sections
$(kernel):
@RUST_TARGET_PATH=$(shell pwd) xargo build --target $(target) -Zbuild-std=core --features "f_multiboot2"
@RUST_TARGET_PATH=$(shell pwd) xargo build --target $(target) -Zbuild-std=core,alloc --features "f_multiboot2"
build/arch/$(arch)/%.o: arch/$(arch)/%.asm
@mkdir -p $(shell dirname $@)