avoid hardcoding files
This commit is contained in:
parent
497323c9f9
commit
fa3867a6f1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ pub fn build(b: *std.Build) void {
|
|||
b.getInstallStep().dependOn(&img_install.step);
|
||||
|
||||
const run = b.addSystemCommand(&.{ "qemu-system-i386", "-fda" });
|
||||
run.addFileArg(b.path("zig-out/bin/initramfs.img"));
|
||||
run.addFileArg(floppy.obj);
|
||||
|
||||
const run_step = b.step("run", "run the os in qemu");
|
||||
run_step.dependOn(&run.step);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue