common: rename --clang to --gem5-clang

The option was hard to understand, and this would cause ambiguity
if we ever support something else with the same option, e.g. rootfs
or userland executables.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-11-14 00:00:00 +00:00
parent ed602152b3
commit 3808df4175
3 changed files with 11 additions and 12 deletions

View File

@@ -117,7 +117,7 @@ https://github.com/cirosantilli/linux-kernel-module-cheat-regression#gem5-unit-t
targets = [self.env['gem5_unit_test_target']]
else:
targets = [self.env['gem5_executable']]
if self.env['clang']:
if self.env['gem5_clang']:
extra_env = {
'CC': 'clang',
'CXX': 'clang++',