Be more precise in addtask
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>
Wed, 28 Dec 2016 19:45:11 +0000 (20:45 +0100)
committerStephane Desneux <stephane.desneux@iot.bzh>
Mon, 27 Mar 2017 13:33:39 +0000 (15:33 +0200)
This changeset fixes a timing issue on parallel builds when
using the aglwgt bbclass. It turns out that we need to make sure
our steps finish before do_package is being called.

Change-Id: Ib3bc0d39562c6a0d9ba4c55352c61ce1b57d5409
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
meta-app-framework/classes/aglwgt.bbclass

index 734e979..97fb6ff 100644 (file)
@@ -33,5 +33,5 @@ do_aglwgt_deploy() {
 
 FILES_${PN} += "/usr/AGL/apps/*.wgt"
 
 
 FILES_${PN} += "/usr/AGL/apps/*.wgt"
 
-addtask aglwgt_package before do_build after do_compile
-addtask aglwgt_deploy  before do_build after do_install
\ No newline at end of file
+addtask aglwgt_deploy  before do_package after do_install
+addtask aglwgt_package before do_aglwgt_deploy after do_compile