summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian <adrian.freihofer@gmail.com>2015-03-13 17:39:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-03-20 10:59:04 +0000
commit37284185912d496a974d507bde7208d93eefc29d (patch)
tree061d513362e3fd08a289671c8aeee265ee1f2499
parentcd121c06e9de8951d507998be443f95f0edc246a (diff)
downloadopenembedded-core-37284185912d496a974d507bde7208d93eefc29d.tar.gz
openembedded-core-37284185912d496a974d507bde7208d93eefc29d.tar.bz2
openembedded-core-37284185912d496a974d507bde7208d93eefc29d.zip
Add archiver folder to SSTATE_DUPWHITELIST
Without this patch the source archiver class is not allowed to archive the same source archive for different builds. Signed-off-by: Adrian <adrian.freihofer@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/classes/sstate.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index ace6bdb57a..2f0632af89 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -25,6 +25,8 @@ SSTATE_EXTRAPATH[vardepvalue] = ""
SSTATE_DUPWHITELIST = "${DEPLOY_DIR_IMAGE}/ ${DEPLOY_DIR}/licenses/ ${DEPLOY_DIR_RPM}/all/"
# Avoid docbook/sgml catalog warnings for now
SSTATE_DUPWHITELIST += "${STAGING_ETCDIR_NATIVE}/sgml ${STAGING_DATADIR_NATIVE}/sgml"
+# Archive the sources for many architectures in one deploy folder
+SSTATE_DUPWHITELIST += "${DEPLOY_DIR_SRC}"
SSTATE_SCAN_FILES ?= "*.la *-config *_config"
SSTATE_SCAN_CMD ?= 'find ${SSTATE_BUILDDIR} \( -name "${@"\" -o -name \"".join(d.getVar("SSTATE_SCAN_FILES", True).split())}" \) -type f'