diff options
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 7fe12f965f..9d3c511cac 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass | |||
@@ -976,8 +976,6 @@ def is_legacy_staging(d): | |||
976 | legacy = False | 976 | legacy = False |
977 | elif bb.data.getVar('NATIVE_INSTALL_WORKS', d, 1) == "1": | 977 | elif bb.data.getVar('NATIVE_INSTALL_WORKS', d, 1) == "1": |
978 | legacy = False | 978 | legacy = False |
979 | if bb.data.getVar('PSTAGE_BROKEN_DESTDIR', d, 1) == "1": | ||
980 | legacy = True | ||
981 | return legacy | 979 | return legacy |
982 | 980 | ||
983 | do_populate_sysroot[dirs] = "${STAGING_DIR_TARGET}/${bindir} ${STAGING_DIR_TARGET}/${libdir} \ | 981 | do_populate_sysroot[dirs] = "${STAGING_DIR_TARGET}/${bindir} ${STAGING_DIR_TARGET}/${libdir} \ |
@@ -1024,8 +1022,8 @@ python do_populate_sysroot () { | |||
1024 | bb.data.setVar("SYSROOT_DESTDIR", "", d) | 1022 | bb.data.setVar("SYSROOT_DESTDIR", "", d) |
1025 | bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True)) | 1023 | bb.note("Legacy staging mode for %s" % bb.data.getVar("FILE", d, True)) |
1026 | lock = bb.utils.lockfile(lockfile) | 1024 | lock = bb.utils.lockfile(lockfile) |
1027 | bb.build.exec_func('do_stage', d) | ||
1028 | bb.build.exec_func('populate_sysroot_prehook', d) | 1025 | bb.build.exec_func('populate_sysroot_prehook', d) |
1026 | bb.build.exec_func('do_stage', d) | ||
1029 | for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split(): | 1027 | for f in (bb.data.getVar('SYSROOT_PREPROCESS_FUNCS', d, True) or '').split(): |
1030 | bb.build.exec_func(f, d) | 1028 | bb.build.exec_func(f, d) |
1031 | bb.build.exec_func('populate_sysroot_posthook', d) | 1029 | bb.build.exec_func('populate_sysroot_posthook', d) |