targets/toolchain_gcc.py
changeset 297 8fca8b555808
parent 290 3bd617ae7a05
child 323 9f07f0d429df
equal deleted inserted replaced
296:37b2b4adbb1d 297:8fca8b555808
    17         self.buildpath = PuginsRootInstance._getBuildPath()
    17         self.buildpath = PuginsRootInstance._getBuildPath()
    18         self.exe_path = os.path.join(self.buildpath, self.exe)
    18         self.exe_path = os.path.join(self.buildpath, self.exe)
    19         self.md5key = None
    19         self.md5key = None
    20         self.srcmd5 = {}
    20         self.srcmd5 = {}
    21 
    21 
    22     def getBuilderLDFLAGS(self):
    22     def getBuilderCFLAGS(self):
    23         """
    23         """
    24         Returns list of builder specific CFLAGS
    24         Returns list of builder specific CFLAGS
    25         """
    25         """
    26         return [self.PuginsRootInstance.BeremizRoot.getTargetType().getcontent()["value"].getCFLAGS()]
    26         return [self.PuginsRootInstance.BeremizRoot.getTargetType().getcontent()["value"].getCFLAGS()]
    27 
    27 
    28     def getBuilderCFLAGS(self):
    28     def getBuilderLDFLAGS(self):
    29         """
    29         """
    30         Returns list of builder specific LDFLAGS
    30         Returns list of builder specific LDFLAGS
    31         """
    31         """
    32         return self.PuginsRootInstance.LDFLAGS + \
    32         return self.PuginsRootInstance.LDFLAGS + \
    33                [self.PuginsRootInstance.BeremizRoot.getTargetType().getcontent()["value"].getLDFLAGS()]
    33                [self.PuginsRootInstance.BeremizRoot.getTargetType().getcontent()["value"].getLDFLAGS()]