packaged-staging, native{,sdk}: Rework OVERRIDES to check PSTAGING_DISABLED
commit42446f681a3e70015d48cf51b0b5cb78b47930c3
authorTom Rini <tom_rini@mentor.com>
Wed, 28 Jul 2010 20:56:08 +0000 (28 13:56 -0700)
committerTom Rini <tom_rini@mentor.com>
Wed, 28 Jul 2010 21:06:07 +0000 (28 14:06 -0700)
tree659577aec22a42da0331e67a59169216f900169c
parent94c0d31734dc4e9f32856acec5d972731e046e75
packaged-staging, native{,sdk}: Rework OVERRIDES to check PSTAGING_DISABLED

When the function to set PSTAGING_ACTIVE is an anon python function OVERRIDES
is not set so we cannot set things to disabled in the context of BBCLASSEXTEND
recipes.  To fix this we need to have native/nativesdk set OVERRIDES outside of
the anon function context.  We then make a COW of the data at this point in
packaged-staging's anon function and evaluate so we know what will be in
OVERRIDES and check.  While we're in here drop a duplicate test in
populate_sysroot_postamble and check nativesdk along with the rest of the
classes that need mangling.

Signed-off-by: Tom Rini <tom_rini@mentor.com>
classes/native.bbclass
classes/nativesdk.bbclass
classes/packaged-staging.bbclass