Merge commit '2fab4af9b1a3d149ba4afc535744d4442a281cf8'

pull/594/head
AMANUMA Kazuhisa 2014-11-06 10:14:23 +09:00
commit 3c4067ab9e
1 changed files with 4 additions and 0 deletions

View File

@ -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)