--- a/targets/toolchain_gcc.py Thu Sep 26 20:47:36 2013 +0900
+++ b/targets/toolchain_gcc.py Fri Sep 27 09:32:39 2013 +0900
@@ -19,14 +19,14 @@
"""
Returns list of builder specific CFLAGS
"""
- return [self.CTRInstance.GetTarget().getcontent()["value"].getCFLAGS()]
+ return [self.CTRInstance.GetTarget().getcontent().getCFLAGS()]
def getBuilderLDFLAGS(self):
"""
Returns list of builder specific LDFLAGS
"""
return self.CTRInstance.LDFLAGS + \
- [self.CTRInstance.GetTarget().getcontent()["value"].getLDFLAGS()]
+ [self.CTRInstance.GetTarget().getcontent().getLDFLAGS()]
def GetBinaryCode(self):
try:
@@ -89,7 +89,7 @@
def build(self):
# Retrieve toolchain user parameters
- toolchain_params = self.CTRInstance.GetTarget().getcontent()["value"]
+ toolchain_params = self.CTRInstance.GetTarget().getcontent()
self.compiler = toolchain_params.getCompiler()
self.linker = toolchain_params.getLinker()