diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index d20b62a66e..b1cdf0f838 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -46,12 +46,8 @@ python () { | |||
46 | namemap = [] | 46 | namemap = [] |
47 | for task in unique_tasks: | 47 | for task in unique_tasks: |
48 | namemap.append(d.getVarFlag(task, 'sstate-name')) | 48 | namemap.append(d.getVarFlag(task, 'sstate-name')) |
49 | funcs = d.getVarFlag(task, 'prefuncs') or "" | 49 | d.prependVarFlag(task, 'prefuncs', "sstate_task_prefunc ") |
50 | funcs = "sstate_task_prefunc " + funcs | 50 | d.appendVarFlag(task, 'postfuncs', " sstate_task_postfunc") |
51 | d.setVarFlag(task, 'prefuncs', funcs) | ||
52 | funcs = d.getVarFlag(task, 'postfuncs') or "" | ||
53 | funcs = funcs + " sstate_task_postfunc" | ||
54 | d.setVarFlag(task, 'postfuncs', funcs) | ||
55 | d.setVar('SSTATETASKNAMES', " ".join(namemap)) | 51 | d.setVar('SSTATETASKNAMES', " ".join(namemap)) |
56 | } | 52 | } |
57 | 53 | ||