summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/staging.bbclass11
1 files changed, 2 insertions, 9 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 2ef8f29b75..718b2f1f25 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -57,15 +57,8 @@ sysroot_stage_all() {
sysroot_stage_dirs ${D} ${SYSROOT_DESTDIR}
}
-do_populate_sysroot[dirs] = "${STAGING_DIR_TARGET}/${bindir} ${STAGING_DIR_TARGET}/${libdir} \
- ${STAGING_DIR_TARGET}/${includedir} \
- ${STAGING_BINDIR_NATIVE} ${STAGING_LIBDIR_NATIVE} \
- ${STAGING_INCDIR_NATIVE} \
- ${STAGING_DATADIR} \
- ${SYSROOT_DESTDIR}${STAGING_DIR_TARGET} \
- ${S} ${B}"
-
-# Could be compile but populate_sysroot and do_install shouldn't run at the same time
+do_populate_sysroot[dirs] = "${SYSROOT_DESTDIR}"
+
addtask populate_sysroot after do_install
SYSROOT_PREPROCESS_FUNCS ?= ""