3c3
< # Copyright (c) 2016 ARM Limited
---
> # Copyright (c) 2016-2017 ARM Limited
163a164,173
> default_ruby_protocol = {
> "arm" : "MOESI_CMP_directory",
> }
>
> def get_default_protocol(arch):
> try:
> return default_ruby_protocol[arch]
> except KeyError:
> return 'MI-example'
>
340,341c350,354
< if ruby_protocol == 'MI_example':
< configs += [ "%s-ruby" % (c, ) for c in configs ]
---
> if ruby_protocol == get_default_protocol(isa):
> if ruby_protocol == 'MI_example':
> configs += [ "%s-ruby" % (c, ) for c in configs ]
> else:
> configs += [ "%s-ruby-%s" % (c, ruby_protocol) for c in configs ]