mirror of https://github.com/ARMmbed/mbed-os.git
Fix normal export (no --source)
parent
fa527cf45e
commit
61ee30efb2
|
|
@ -133,6 +133,7 @@ class GccArm(Exporter):
|
|||
def generate(self):
|
||||
# "make" wants Unix paths
|
||||
self.resources.win_to_unix()
|
||||
if self.sources_relative:
|
||||
self.resources.relative_to(self.prj_paths[0])
|
||||
|
||||
to_be_compiled = []
|
||||
|
|
@ -159,7 +160,7 @@ class GccArm(Exporter):
|
|||
'libraries': libraries,
|
||||
'symbols': self.get_symbols(),
|
||||
'cpu_flags': self.toolchain.cpu,
|
||||
'vpath': [relpath(s, build_dir) for s in self.prj_paths] if self.sources_relative else ["../"]
|
||||
'vpath': [relpath(s, build_dir) for s in self.prj_paths] if self.sources_relative else [".."]
|
||||
}
|
||||
|
||||
for key in ['include_paths', 'library_paths', 'linker_script']:
|
||||
|
|
|
|||
Loading…
Reference in New Issue