ruby: add RUBY sticky option that must be set to add ruby to the build

Default is false
This commit is contained in:
Nathan Binkert
2009-05-11 10:38:46 -07:00
parent b174ec065e
commit cf6b4ef734
22 changed files with 69 additions and 6 deletions

View File

@@ -265,8 +265,9 @@ else:
configs += ['simple-atomic', 'simple-timing', 'o3-timing', 'memtest',
'simple-atomic-mp', 'simple-timing-mp', 'o3-timing-mp']
# Hack for Ruby
configs += [c + '-ruby' for c in configs]
if env['RUBY']:
# Hack for Ruby
configs += [c + '-ruby' for c in configs]
cwd = os.getcwd()
os.chdir(str(Dir('.').srcdir))