diff options
author | Ming Liu <liu.ming50@gmail.com> | 2019-03-07 17:56:46 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-09 14:41:20 +0000 |
commit | e74158b6cc1d683ab14ef5d47ec531f986fc2259 (patch) | |
tree | 07ff0ad47486f9cba1e0413a47bbd0f5ab0b527f /meta/classes/rm_work.bbclass | |
parent | bb1629820443bfedc72378a7c88f0656a2f3f7f1 (diff) | |
download | openembedded-core-contrib-e74158b6cc1d683ab14ef5d47ec531f986fc2259.tar.gz |
rm_work: sort the value of do_build dependencies
This fixes some 'basehash changed' errors when rm_work is being
inherited.
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/rm_work.bbclass')
-rw-r--r-- | meta/classes/rm_work.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass index 10e134b958..c478f4a187 100644 --- a/meta/classes/rm_work.bbclass +++ b/meta/classes/rm_work.bbclass @@ -164,8 +164,7 @@ python inject_rm_work() { # Determine what do_build depends upon, without including do_build # itself or our own special do_rm_work_all. - deps = set(bb.build.preceedtask('do_build', True, d)) - deps.difference_update(('do_build', 'do_rm_work_all')) + deps = sorted((set(bb.build.preceedtask('do_build', True, d))).difference(('do_build', 'do_rm_work_all')) or "") # deps can be empty if do_build doesn't exist, e.g. *-inital recipes if not deps: |