targets/Xenomai/__init__.py
changeset 421 c9ec111ad275
parent 411 8261c8f1e365
child 510 8038c08b9874
--- 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]