summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-10-28 15:22:37 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-10-28 15:22:37 +0000
commit83a64003f85fe6e157bd0c38f5500b24fba9e392 (patch)
treea072ca2ead7d76f3a8c102bb7370223456e7bc18
parentc078d4c0d31f606ecb3650f525728f110a6287fc (diff)
downloadopenembedded-core-83a64003f85fe6e157bd0c38f5500b24fba9e392.tar.gz
openembedded-core-83a64003f85fe6e157bd0c38f5500b24fba9e392.tar.bz2
openembedded-core-83a64003f85fe6e157bd0c38f5500b24fba9e392.zip
packaged-staging: Whitelist the empty base_do_stage function as it does nothing and locks need not be held
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/packaged-staging.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index 4246d04b51..7ad8b4b724 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -73,15 +73,18 @@ python () {
stagefunc = bb.data.getVar('do_stage', d, 1).strip()
if stagefunc == "autotools_stage_all":
fastpath = True
+ elif stagefunc == "base_do_stage":
+ fastpath = True
elif stagefunc == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
fastpath = True
if bb.data.getVar('PSTAGE_BROKEN_DESTDIR', d, 1) == "1":
fastpath = False
if fastpath:
- #bb.note("Can optimise " + bb.data.getVar('FILE', d, 1))
+ #bb.note("Optimised for staging: " + bb.data.getVar('FILE', d, 1))
bb.data.setVar("PSTAGING_NEEDSTAMP", "0", d)
bb.data.setVar("STAGE_TEMP_PREFIX", "${WORKDIR}/temp-staging-pstage", d)
else:
+ #bb.note("Can optimise staging better: " + bb.data.getVar('FILE', d, 1))
bb.data.setVar("PSTAGING_NEEDSTAMP", "1", d)
else:
bb.data.setVar("PSTAGING_ACTIVE", "0", d)