config: Add a default system disk image for SPARC FS.
When the change below removed the hard coded disk name for the SPARC FS
configuration, it broke the regression which had not specified a disk name.
This change adds a default disk name so that the regression will continue to
work like it used to, but preserving the effect of this other change.
commit 86a25bbcee
Author: Jakub Jermar <jakub@jermar.eu>
Date: Tue Jul 19 09:52:46 2016 -0500
config: Allow SPARC FS image to be specified on the command line
Change-Id: Ieb317b2bf573a4f2fc435d34cccd1f246c28d84c
Reviewed-on: https://gem5-review.googlesource.com/2645
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
This commit is contained in:
@@ -60,6 +60,8 @@ class SysConfig:
|
||||
return env.get('LINUX_IMAGE', disk('x86root.img'))
|
||||
elif buildEnv['TARGET_ISA'] == 'arm':
|
||||
return env.get('LINUX_IMAGE', disk('linux-aarch32-ael.img'))
|
||||
elif buildEnv['TARGET_ISA'] == 'sparc':
|
||||
return env.get('LINUX_IMAGE', disk('disk.s10hw2'))
|
||||
else:
|
||||
print "Don't know what default disk image to use for %s ISA" % \
|
||||
buildEnv['TARGET_ISA']
|
||||
|
||||
Reference in New Issue
Block a user