os/Tupfile

10 lines
284 B
Plaintext
Raw Normal View History

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
2022-10-09 14:32:07 -05:00
: initrd_maker.rs |> rustc $(RUSTC_FLAGS) -o %o %f |> bin/%B
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