File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ check-fmt *FLAGS:
93
93
{{ _cargo }} fmt --check --all {{ FLAGS }}
94
94
95
95
# Builds the kernel using the given config and runs it using QEMU
96
- run config * CARGO_ARGS = " ": (build config CARGO_ARGS) (_run config " target/k23/bootimg.bin" )
96
+ run config CARGO_ARGS = " " * ARGS = " " : (build config CARGO_ARGS) (_run config " target/k23/bootimg.bin" ARGS )
97
97
98
98
# Builds the kernel using the given config
99
99
build config * CARGO_ARGS = " ": && (_make_bootimg config " target/k23/payload" CARGO_ARGS)
@@ -143,7 +143,8 @@ _run config binary *ARGS:
143
143
" qemu-system-riscv64" => " rv64"
144
144
}
145
145
146
- (run-external $runner
146
+ print {{ binary}}
147
+ (^$runner
147
148
" -kernel"
148
149
{{binary}}
149
150
" -machine" " virt"
@@ -155,6 +156,7 @@ _run config binary *ARGS:
155
156
" -serial" " stdio"
156
157
" -semihosting-config"
157
158
" enable=on,target=native"
159
+ {{ARGS}}
158
160
#" -monitor"
159
161
#" unix:qemu-monitor-socket,server,nowait"
160
162
)
You can’t perform that action at this time.
0 commit comments