diff options
Diffstat (limited to 'meta/classes/sstate.bbclass')
-rw-r--r-- | meta/classes/sstate.bbclass | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index d544da97d6..68fd996931 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -33,6 +33,11 @@ SSTATE_MANMACH ?= "${SSTATE_PKGARCH}" | |||
33 | SSTATEPREINSTFUNCS ?= "" | 33 | SSTATEPREINSTFUNCS ?= "" |
34 | SSTATEPOSTINSTFUNCS ?= "" | 34 | SSTATEPOSTINSTFUNCS ?= "" |
35 | 35 | ||
36 | # Specify dirs in which the shell function is executed and don't use ${B} | ||
37 | # as default dirs to avoid possible race about ${B} with other task. | ||
38 | sstate_create_package[dirs] = "${SSTATE_BUILDDIR}" | ||
39 | sstate_unpack_package[dirs] = "${SSTATE_INSTDIR}" | ||
40 | |||
36 | python () { | 41 | python () { |
37 | if bb.data.inherits_class('native', d): | 42 | if bb.data.inherits_class('native', d): |
38 | d.setVar('SSTATE_PKGARCH', d.getVar('BUILD_ARCH')) | 43 | d.setVar('SSTATE_PKGARCH', d.getVar('BUILD_ARCH')) |