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

Submitted by Richard Purdie on Feb. 14, 2013, 9:57 p.m.


Message ID 1360879056.11225.127.camel@ted
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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):