mirror of https://github.com/ARMmbed/mbed-os.git
Fix include paths for uvision when exported with Python 3.
The call to encode() was causing the include paths to be placed in the uvision product file with the prefix "b'" and the postfix "'". This broke the parsing of this file and broke the build.pull/10326/head
parent
c2e730c15c
commit
fc37879873
|
@ -241,7 +241,7 @@ class Uvision(Exporter):
|
|||
'project_files': sorted(list(self.format_src(srcs).items()),
|
||||
key=lambda tuple: tuple[0].lower()),
|
||||
'include_paths': ';'.join(self.filter_dot(d) for d in
|
||||
self.resources.inc_dirs).encode('utf-8'),
|
||||
self.resources.inc_dirs),
|
||||
'device': DeviceUvision(self.target),
|
||||
}
|
||||
sct_name, sct_path = self.resources.get_file_refs(
|
||||
|
|
Loading…
Reference in New Issue