[yocto] [auh][PATCH 04/21] modules/steps.py: fix warn when skip compilation

Alexander Kanavin alexander.kanavin at linux.intel.com
Thu Dec 21 08:27:12 PST 2017


From: Robert Yang <liezhi.yang at windriver.com>

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
---
 modules/steps.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/steps.py b/modules/steps.py
index 63f43c8..5bbe38e 100644
--- a/modules/steps.py
+++ b/modules/steps.py
@@ -113,7 +113,7 @@ def _compile(bb, pkg, machine, workdir):
 
 def compile(devtool, bb, git, opts, pkg_ctx):
     if opts['skip_compilation']:
-        W(" %s: Compilation was skipped by user choice!")
+        W(" %s: Compilation was skipped by user choice!" % pkg_ctx['PN'])
         return
 
     for machine in opts['machines']:
-- 
2.15.1




More information about the yocto mailing list