scripts: size_report: fix path prepending
Fixes potential issue on windows. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
f420c7bb8d
commit
239d175eff
1 changed files with 2 additions and 1 deletions
|
@ -217,7 +217,8 @@ def get_die_filename(die, lineprog):
|
|||
|
||||
# Prepend output path to relative path
|
||||
if not path.is_absolute():
|
||||
path = Path(args.output) / path
|
||||
output = Path(args.output)
|
||||
path = output.joinpath(path)
|
||||
|
||||
# Change path to relative to Zephyr base
|
||||
path = path.resolve()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue