aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-21 09:44:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-21 23:42:49 +0000
commit39fd8c129e2bff7f2f1649b7f6e036ccc50fd5d8 (patch)
tree0541c6d086ac124ee7be62e7ca0ec883da9fbab5
parent04610f713e47cd5fc9e44e258589cb24f27bf1bc (diff)
downloadopenembedded-core-39fd8c129e2bff7f2f1649b7f6e036ccc50fd5d8.zip
openembedded-core-39fd8c129e2bff7f2f1649b7f6e036ccc50fd5d8.tar.gz
openembedded-core-39fd8c129e2bff7f2f1649b7f6e036ccc50fd5d8.tar.bz2
populate_sdk_ext: Set cleandirs correctly
The current conflicting use of SDKDEPLOYDIR causes a race between do_populate_sdk and do_populate_sdk_ext potentially causing the SDK to either go missing or the build to fail. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/populate_sdk_ext.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass
index efb68d2..414ad8b 100644
--- a/meta/classes/populate_sdk_ext.bbclass
+++ b/meta/classes/populate_sdk_ext.bbclass
@@ -679,7 +679,7 @@ SDKEXTDEPLOYDIR = "${WORKDIR}/deploy-${PN}-populate-sdk-ext"
SSTATETASKS += "do_populate_sdk_ext"
SSTATE_SKIP_CREATION_task-populate-sdk-ext = '1'
-do_populate_sdk_ext[cleandirs] = "${SDKDEPLOYDIR}"
+do_populate_sdk_ext[cleandirs] = "${SDKEXTDEPLOYDIR}"
do_populate_sdk_ext[sstate-inputdirs] = "${SDKEXTDEPLOYDIR}"
do_populate_sdk_ext[sstate-outputdirs] = "${SDK_DEPLOY}"
do_populate_sdk_ext[stamp-extra-info] = "${MACHINE}"