mirror of
https://git.yoctoproject.org/poky
synced 2026-10-22 07:08:19 +00:00
bitbake/BBHandler: Only add do_ prefix to tasks if its not already present
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
1 parent
29ae46a866
commit
dbd66fc808
1 file changed
+2
-1
@@ -329,7 +329,8 @@ def feeder(lineno, s, fn, root, d):
|
||||
after = m.group("after")
|
||||
if func is None:
|
||||
return
|
||||
var = "do_" + func
|
||||
if func[:3] != "do_":
|
||||
var = "do_" + func
|
||||
|
||||
data.setVarFlag(var, "task", 1, d)
|
||||
|
||||
|
||||
Reference in new issue
Block a user