diff -r 502939f9c477 -r 131110501214 ProjectController.py --- a/ProjectController.py Thu Jun 14 14:42:00 2012 +0200 +++ b/ProjectController.py Thu Jun 14 15:50:57 2012 +0200 @@ -61,15 +61,15 @@ """+targets.GetTargetChoices()+""" - """+((""" - + + """+((""" """+"\n".join(['' for libname,lib in features.libraries])+""" - - """) if len(features.libraries)>0 else '') + """ + """) if len(features.libraries)>0 else '') + """ + @@ -371,6 +371,8 @@ return "\n".join([ lib.GetSTCode() for lib in self.Libraries ]) def GetLibrariesCCode(self, buildpath): + if len(self.Libraries)==0: + return [],[],() self.GetIECProgramsAndVariables() LibIECCflags = '"-I%s"'%os.path.abspath(self.GetIECLibPath()) LocatedCCodeAndFlags=[]