mirror of https://github.com/thesofproject/sof.git
xtensa-build-zephyr.py: switch type of InstFile() names to pathlib
Make sure any forward slashes in strings are immediately converted to OS-dependent directory separators. Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This commit is contained in:
parent
13c36f3207
commit
bc394916d0
|
@ -719,8 +719,8 @@ def install_platform(platform, sof_platform_output_dir):
|
|||
@dataclass
|
||||
class InstFile:
|
||||
'How to install one file'
|
||||
name: str
|
||||
renameTo: str = None
|
||||
name: pathlib.Path
|
||||
renameTo: pathlib.Path = None
|
||||
# TODO: upgrade this to 3 states: optional/warning/error
|
||||
optional: bool = False
|
||||
gzip: bool = True
|
||||
|
|
Loading…
Reference in New Issue