summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-19 13:37:11 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-19 13:37:11 +0000
commit43bee8b7357fc3d003fe021035e55f83be0c11bd (patch)
tree7b12c977cca23d9f6bbd0240606051c216d47b11 /meta/classes
parent40a88a10635a5d7c32914218cb6142ec9bbd478f (diff)
downloadopenembedded-core-43bee8b7357fc3d003fe021035e55f83be0c11bd.tar.gz
openembedded-core-43bee8b7357fc3d003fe021035e55f83be0c11bd.tar.bz2
openembedded-core-43bee8b7357fc3d003fe021035e55f83be0c11bd.zip
Disable packaged-staging for cross-linkage/staging-linkage and external-poky-toolchain
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/packaged-staging.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index 8bbbc0cb13..9a20761ff3 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -48,6 +48,9 @@ python () {
if bb.data.inherits_class('image', d):
pstage_allowed = False
+ if bb.data.getVar('PSTAGING_DISABLED', d, True) == "1":
+ pstage_allowed = False
+
# Add task dependencies if we're active, otherwise mark packaged staging
# as inactive.
if pstage_allowed: