diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-17 21:39:08 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-12-18 11:41:44 +0000 |
commit | dbd66fc8080eacd6c20df9d6528a929b9070fe35 (patch) | |
tree | 56d3fc5b3a13e378bdd2b3bb77fe965afe7c8968 /bitbake | |
parent | 29ae46a86601313206896992afb77b35c31785da (diff) | |
download | poky-dbd66fc8080eacd6c20df9d6528a929b9070fe35.tar.gz |
bitbake/BBHandler: Only add do_ prefix to tasks if its not already present
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/parse/parse_py/BBHandler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py index 76b917ca5d..915db214f5 100644 --- a/bitbake/lib/bb/parse/parse_py/BBHandler.py +++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py | |||
@@ -329,7 +329,8 @@ def feeder(lineno, s, fn, root, d): | |||
329 | after = m.group("after") | 329 | after = m.group("after") |
330 | if func is None: | 330 | if func is None: |
331 | return | 331 | return |
332 | var = "do_" + func | 332 | if func[:3] != "do_": |
333 | var = "do_" + func | ||
333 | 334 | ||
334 | data.setVarFlag(var, "task", 1, d) | 335 | data.setVarFlag(var, "task", 1, d) |
335 | 336 | ||