Patchwork [bitbake-devel] codeparser: Track appendVar and prependVar calls as we do for getVar

login
register
mail settings
Submitter Richard Purdie
Date Feb. 14, 2013, 9:57 p.m.
Message ID <1360879056.11225.127.camel@ted>
Download mbox | patch
Permalink /patch/44669/
State New
Headers show

Comments

Richard Purdie - Feb. 14, 2013, 9:57 p.m.
We need to track appendVar and prependVar calls just as we do for getVar in order
to ensure we're not missing variable dependencies.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---

Patch

diff --git a/bitbake/lib/bb/codeparser.py b/bitbake/lib/bb/codeparser.py
index d7d3f51..979e6bd 100644
--- a/bitbake/lib/bb/codeparser.py
+++ b/bitbake/lib/bb/codeparser.py
@@ -100,7 +100,7 @@  class BufferedLogger(Logger):
         self.buffer = []
 
 class PythonParser():
-    getvars = ("d.getVar", "bb.data.getVar", "data.getVar")
+    getvars = ("d.getVar", "bb.data.getVar", "data.getVar", "d.appendVar", "d.prependVar")
     execfuncs = ("bb.build.exec_func", "bb.build.exec_task")
 
     def warn(self, func, arg):