mirror of https://github.com/ARMmbed/mbed-os.git
Support debug-info in build.
parent
1a7efa8787
commit
d54b280afe
|
@ -312,7 +312,7 @@ class mbedToolchain:
|
||||||
toolchain_labels = [c.__name__ for c in getmro(self.__class__)]
|
toolchain_labels = [c.__name__ for c in getmro(self.__class__)]
|
||||||
toolchain_labels.remove('mbedToolchain')
|
toolchain_labels.remove('mbedToolchain')
|
||||||
self.labels = {
|
self.labels = {
|
||||||
'TARGET': self.target.get_labels(),
|
'TARGET': self.target.get_labels() + ["DEBUG" if "debug-info" in self.options else "RELEASE"],
|
||||||
'TOOLCHAIN': toolchain_labels
|
'TOOLCHAIN': toolchain_labels
|
||||||
}
|
}
|
||||||
return self.labels
|
return self.labels
|
||||||
|
|
Loading…
Reference in New Issue