twister: Enable armclang on all arm targets
Rather than having to add 'armclang' to every <BOARD>.yaml, just list it as a generally supported toolchain if the architecture is 'arm'. Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
parent
1cfefbe129
commit
17f0a64bd4
|
@ -71,6 +71,9 @@ class Platform:
|
|||
self.simulation = data.get('simulation', "na")
|
||||
self.simulation_exec = data.get('simulation_exec')
|
||||
self.supported_toolchains = data.get("toolchain", [])
|
||||
if self.arch == 'arm':
|
||||
if 'armclang' not in self.supported_toolchains:
|
||||
self.supported_toolchains.append('armclang')
|
||||
self.env = data.get("env", [])
|
||||
self.env_satisfied = True
|
||||
for env in self.env:
|
||||
|
|
Loading…
Reference in a new issue