Support debug-info in build.

Marcus Shawcroft 2016-04-05 16:40:16 +01:00
parent 1a7efa8787
commit d54b280afe
1 changed files with 1 additions and 1 deletions

View File

@ -312,7 +312,7 @@ class mbedToolchain:
toolchain_labels = [c.__name__ for c in getmro(self.__class__)]
toolchain_labels.remove('mbedToolchain')
self.labels = {
'TARGET': self.target.get_labels(),
'TARGET': self.target.get_labels() + ["DEBUG" if "debug-info" in self.options else "RELEASE"],
'TOOLCHAIN': toolchain_labels
}
return self.labels