mirror of https://github.com/ARMmbed/mbed-os.git
[RZ/A1H] changes copy scheme for iodefines/iobitmasks
RZ's toolchain assumes that iodefines/iobitmasks dirs. are structured real not flat. Adds some code to toolchain::copy_filespull/594/head
parent
319724621d
commit
56c838a92f
|
@ -414,6 +414,10 @@ class mbedToolchain:
|
|||
for source in files_paths:
|
||||
if rel_path is not None:
|
||||
relative_path = relpath(source, rel_path)
|
||||
elif "RZ_A1H" in source and "iobitmasks" in source:
|
||||
relative_path = source[source.rindex("iobitmasks"):]
|
||||
elif "RZ_A1H" in source and "iodefines" in source:
|
||||
relative_path = source[source.rindex("iodefines"):]
|
||||
else:
|
||||
_, relative_path = split(source)
|
||||
|
||||
|
|
Loading…
Reference in New Issue