diff options
author | Ed Bartosh <ed.bartosh@linux.intel.com> | 2017-06-16 15:02:07 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-06-28 20:54:54 +0100 |
commit | c5fa6034708b344e184bb6fa361d5ea41371008f (patch) | |
tree | 294ec24bc5ef1bf2cdd3b620617158eeaf6fb8d9 /meta/lib/oeqa/utils/commands.py | |
parent | c5f33d466122e53be910fa448af60ef3937eb828 (diff) | |
download | openembedded-core-c5fa6034708b344e184bb6fa361d5ea41371008f.tar.gz openembedded-core-c5fa6034708b344e184bb6fa361d5ea41371008f.tar.bz2 openembedded-core-c5fa6034708b344e184bb6fa361d5ea41371008f.zip |
image.bbclass: use prependVarFlag for postfuncs
It would be possible to achieve any order of calling functions if
prefuncs are added with appendVarFlag and postfuncs with prependVarFlag.
Then image_X.bbclass can add code with either pre/post-funcs or
do_image_x_append or _prepend.
The execution order would be:
image_X prefuncs
image prefuncs
do_image_X_prepend from image_X.bbclass
do_image_X from image.bbclass
do_image_X_append from image_X.bbclass
image postfuncs
image_X postfuncs
[YOCTO #11372]
Thanks to Ola Nillsson for the idea.
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/lib/oeqa/utils/commands.py')
0 files changed, 0 insertions, 0 deletions