diff -r c093ec48f2fd -r c9ec111ad275 targets/Xenomai/__init__.py --- a/targets/Xenomai/__init__.py Fri Oct 16 10:50:16 2009 +0200 +++ b/targets/Xenomai/__init__.py Mon Oct 19 16:03:46 2009 +0200 @@ -11,9 +11,9 @@ # get xeno-config from target parameters xeno_config = self.getXenoConfig() - status, result, err_result = ProcessLogger(self.logger, xeno_config + " --xeno-ldflags", no_stdout=True).spin() + status, result, err_result = ProcessLogger(self.PluginsRootInstance.logger, xeno_config + " --xeno-ldflags", no_stdout=True).spin() if status: - self.logger.write_error(_("Unable to get Xenomai's LDFLAGS\n")) + self.PluginsRootInstance.logger.write_error(_("Unable to get Xenomai's LDFLAGS\n")) xeno_ldlags = result.strip() return toolchain_gcc.getBuilderLDFLAGS(self) + [xeno_ldlags, "-shared", "-lnative"] @@ -22,9 +22,9 @@ # get xeno-config from target parameters xeno_config = self.getXenoConfig() - status, result, err_result = ProcessLogger(self.logger, xeno_config + " --xeno-cflags", no_stdout=True).spin() + status, result, err_result = ProcessLogger(self.PluginsRootInstance.logger, xeno_config + " --xeno-cflags", no_stdout=True).spin() if status: - self.logger.write_error(_("Unable to get Xenomai's CFLAGS\n")) + self.PluginsRootInstance.logger.write_error(_("Unable to get Xenomai's CFLAGS\n")) xeno_cflags = result.strip() return toolchain_gcc.getBuilderCFLAGS(self) + [xeno_cflags]