twister: oot soc: set soc_root using Path
Set soc_root using Path to avoid wrong generated path in the list of soc_roots and other roots read from module.yml file Fixes #80531 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
f277631b60
commit
2c43d7fe76
1 changed files with 3 additions and 3 deletions
|
@ -980,13 +980,13 @@ class TwisterEnv:
|
|||
for module in modules:
|
||||
soc_root = module.meta.get("build", {}).get("settings", {}).get("soc_root")
|
||||
if soc_root:
|
||||
self.soc_roots.append(os.path.join(module.project, soc_root))
|
||||
self.soc_roots.append(Path(module.project) / Path(soc_root))
|
||||
dts_root = module.meta.get("build", {}).get("settings", {}).get("dts_root")
|
||||
if dts_root:
|
||||
self.dts_roots.append(os.path.join(module.project, dts_root))
|
||||
self.dts_roots.append(Path(module.project) / Path(dts_root))
|
||||
arch_root = module.meta.get("build", {}).get("settings", {}).get("arch_root")
|
||||
if arch_root:
|
||||
self.arch_roots.append(os.path.join(module.project, arch_root))
|
||||
self.arch_roots.append(Path(module.project) / Path(arch_root))
|
||||
|
||||
self.hwm = None
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue