From 43bee8b7357fc3d003fe021035e55f83be0c11bd Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 19 Nov 2009 13:37:11 +0000 Subject: Disable packaged-staging for cross-linkage/staging-linkage and external-poky-toolchain Signed-off-by: Richard Purdie --- meta/classes/packaged-staging.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/classes') 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: -- cgit v1.2.3