1# Copyright (c) 2006-2007 The Regents of The University of Michigan 2# All rights reserved. 3# 4# Redistribution and use in source and binary forms, with or without 5# modification, are permitted provided that the following conditions are 6# met: redistributions of source code must retain the above copyright 7# notice, this list of conditions and the following disclaimer; 8# redistributions in binary form must reproduce the above copyright --- 46 unchanged lines hidden (view full) --- 55 if self.diskname: 56 return disk(self.diskname) 57 elif buildEnv['TARGET_ISA'] == 'alpha': 58 return env.get('LINUX_IMAGE', disk('linux-latest.img')) 59 elif buildEnv['TARGET_ISA'] == 'x86': 60 return env.get('LINUX_IMAGE', disk('x86root.img')) 61 elif buildEnv['TARGET_ISA'] == 'arm': 62 return env.get('LINUX_IMAGE', disk('linux-aarch32-ael.img')) |
63 elif buildEnv['TARGET_ISA'] == 'sparc': 64 return env.get('LINUX_IMAGE', disk('disk.s10hw2')) |
65 else: 66 print "Don't know what default disk image to use for %s ISA" % \ 67 buildEnv['TARGET_ISA'] 68 exit(1) 69 70 def rootdev(self): 71 if self.root: 72 return self.root --- 72 unchanged lines hidden --- |