mirror of https://github.com/ARMmbed/mbed-os.git
Allow overriding of non-cumulative target attributes
parent
6b0db0d8c7
commit
caa50cb8a8
|
@ -644,6 +644,10 @@ class Config(object):
|
||||||
label)
|
label)
|
||||||
elif name in self.__unused_overrides:
|
elif name in self.__unused_overrides:
|
||||||
pass
|
pass
|
||||||
|
elif (name.startswith("target.") and
|
||||||
|
unit_kind is "application"):
|
||||||
|
_, attribute = name.split(".")
|
||||||
|
setattr(self.target, attribute, val)
|
||||||
else:
|
else:
|
||||||
self.config_errors.append(
|
self.config_errors.append(
|
||||||
ConfigException(
|
ConfigException(
|
||||||
|
|
Loading…
Reference in New Issue