Skip to contentSkip to conversation

codeparser: Track appendVar and prependVar calls as we do for getVar

PATCH New Richard Purdie 1 participant 1 message Feb 14, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 codeparser: Track appendVar and prependVar calls as we do for getVar

We need to track appendVar and prependVar calls just as we do for getVar in order to ensure we're not missing variable dependencies.

---

bitbake/lib/bb/codeparser.py +1 -1
index d7d3f51..979e6bd 100644
@@ -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):