summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-26 10:04:15 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-26 11:37:32 +0000
commit70301cc433f418af2654a9a7f1353faf4be03a3d (patch)
treebfc68e174804bfea66f67056cd610da3372cce8f
parent87a258fe5cbfa2f678a1a569f703d6a4aeb21dd8 (diff)
downloadopenembedded-core-70301cc433f418af2654a9a7f1353faf4be03a3d.tar.gz
openembedded-core-70301cc433f418af2654a9a7f1353faf4be03a3d.tar.bz2
openembedded-core-70301cc433f418af2654a9a7f1353faf4be03a3d.zip
staging.bbclass: No need to create these directories any more, also remove invalid comment
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 ?= ""