2022-10-08 17:55:21 -05:00
|
|
|
include_rules
|
|
|
|
|
|
|
|
export RUSTUP_HOME
|
|
|
|
|
2022-10-09 08:48:27 -05:00
|
|
|
RUSTC_FLAGS = -C debuginfo=0 -C opt-level=3 --edition 2021
|
|
|
|
|
|
|
|
: initrd_maker.rs |> rustc $(RUSTC_FLAGS) -o %o %f |> bin/initrd_maker
|
2022-10-08 17:55:21 -05:00
|
|
|
: kernel/kernel.elf *.elf | bin/initrd_maker |> bin/initrd_maker %f |> initrd
|
|
|
|
: boot/boot.bin initrd |> cat %f > %o |> os.dsk
|