twister: fix dts path for module
Fixes twister with modules (TypeError for undefined dts_root) Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
This commit is contained in:
parent
a3f71f13bf
commit
c743821f96
1 changed files with 1 additions and 1 deletions
|
@ -976,7 +976,7 @@ class TwisterEnv:
|
|||
if soc_root:
|
||||
self.soc_roots.append(os.path.join(module.project, soc_root))
|
||||
dts_root = module.meta.get("build", {}).get("settings", {}).get("dts_root")
|
||||
if soc_root:
|
||||
if dts_root:
|
||||
self.dts_roots.append(os.path.join(module.project, dts_root))
|
||||
arch_root = module.meta.get("build", {}).get("settings", {}).get("arch_root")
|
||||
if arch_root:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue