common: add --qemu option to override configs

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-11-13 00:00:01 +00:00
parent e54635c3ab
commit 238f1ad1c0
8 changed files with 305 additions and 312 deletions

View File

@@ -22,7 +22,7 @@ class BaremetalComponent(common.Component):
else:
os.environ['PATH'] = common.crosstool_ng_bin_dir + os.environ['PATH']
gcc = common.get_toolchain_tool('gcc', allowed_toolchains=['crosstool-ng'])
if args.gem5:
if common.emulator == 'gem5':
if common.machine == 'VExpress_GEM5_V1':
entry_address = 0x80000000
uart_address = 0x1c090000