equal
deleted
inserted
replaced
256 Gen_PyCfile_path = os.path.join(buildpath, "PyCFile_%s.c"%location_str) |
256 Gen_PyCfile_path = os.path.join(buildpath, "PyCFile_%s.c"%location_str) |
257 pycfile = open(Gen_PyCfile_path,'w') |
257 pycfile = open(Gen_PyCfile_path,'w') |
258 pycfile.write(PyCFileContent) |
258 pycfile.write(PyCFileContent) |
259 pycfile.close() |
259 pycfile.close() |
260 |
260 |
261 matiec_flags = '"-l -p -I%s"'%os.path.abspath( |
261 matiec_CFLAGS = '"-I%s"'%os.path.abspath( |
262 self.GetCTRoot().GetIECLibPath()) |
262 self.GetCTRoot().GetIECLibPath()) |
263 |
263 |
264 return ([(Gen_PyCfile_path, matiec_flags)], |
264 return ([(Gen_PyCfile_path, matiec_CFLAGS)], |
265 "", |
265 "", |
266 True, |
266 True, |
267 ("runtime_%s.py"%location_str, file(runtimefile_path,"rb"))) |
267 ("runtime_%s.py"%location_str, file(runtimefile_path,"rb"))) |
268 |
268 |