Add `mkdir build` in makefile.

It this is missing, building with a clean repository will fail
because build/ does not exist.
master
dzy 6 years ago
parent 906019f7c6
commit 11223957d1

@ -143,6 +143,7 @@ $(kernel): kernel $(assembly_object_files) $(linker_script)
$(assembly_object_files) target/x86_64-blog_os/$(mode)/libucore.a $(assembly_object_files) target/x86_64-blog_os/$(mode)/libucore.a
kernel: kernel:
@mkdir build/$(arch) -p
@CC=$(cc) cargo xbuild $(build_args) @CC=$(cc) cargo xbuild $(build_args)
# compile assembly files # compile assembly files

Loading…
Cancel
Save