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 9cd4590158..f8695e7e9b 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass | |||
@@ -47,6 +47,11 @@ SIGGEN_LOCKEDSIGS_CHECK_LEVEL ?= 'error' | |||
47 | sstate_create_package[dirs] = "${SSTATE_BUILDDIR}" | 47 | sstate_create_package[dirs] = "${SSTATE_BUILDDIR}" |
48 | sstate_unpack_package[dirs] = "${SSTATE_INSTDIR}" | 48 | sstate_unpack_package[dirs] = "${SSTATE_INSTDIR}" |
49 | 49 | ||
50 | # Do not run sstate_hardcode_path() in ${B}: | ||
51 | # the ${B} maybe removed by cmake_do_configure() while | ||
52 | # sstate_hardcode_path() running. | ||
53 | sstate_hardcode_path[dirs] = "${SSTATE_BUILDDIR}" | ||
54 | |||
50 | python () { | 55 | python () { |
51 | if bb.data.inherits_class('native', d): | 56 | if bb.data.inherits_class('native', d): |
52 | d.setVar('SSTATE_PKGARCH', d.getVar('BUILD_ARCH')) | 57 | d.setVar('SSTATE_PKGARCH', d.getVar('BUILD_ARCH')) |