Skip to content

Commit 1a12372

Browse files
committed
Fix local variable 'arm_kernel_cli' referenced before assignment on ./run --emulator gem5
Fix #158
1 parent 32b6d03 commit 1a12372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ Extra options to append at the end of the emulator command line.
613613
if self.env['kvm']:
614614
cmd.extend(['--cpu-type', 'X86KvmCPU', LF])
615615
if not self.env['baremetal']:
616-
cmd.extend(['--command-line', 'earlycon={} earlyprintk={} lpj=7999923 root=/dev/sda {}'.format(arm_kernel_cli, console, console, kernel_cli), LF])
616+
cmd.extend(['--command-line', 'earlycon={} earlyprintk={} lpj=7999923 root=/dev/sda {}'.format(console, console, kernel_cli), LF])
617617
elif self.env['is_arm']:
618618
if self.env['kvm']:
619619
cmd.extend(['--cpu-type', 'ArmV8KvmCPU', LF])

0 commit comments

Comments
 (0)