summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-05 11:33:04 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:23 +0000
commitaaf9b6aa5ff4acc6034c505514e02816abc1cd5d (patch)
tree7a8de549c2cd1373f82f91de526e0f9deedc3be7
parent08d949ee12b922cd2fb7003703e3a4e3ff93cd58 (diff)
downloadopenembedded-core-aaf9b6aa5ff4acc6034c505514e02816abc1cd5d.tar.gz
openembedded-core-aaf9b6aa5ff4acc6034c505514e02816abc1cd5d.tar.bz2
openembedded-core-aaf9b6aa5ff4acc6034c505514e02816abc1cd5d.tar.xz
openembedded-core-aaf9b6aa5ff4acc6034c505514e02816abc1cd5d.zip
base.bbclass: Add an option of forcing the new staging mechanism
Add an option of forcing the new staging mechanism for native packages that don't use autotools with the NATIVE_INSTALL_WORKS option Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/base.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index d4a761755..d8711ad97 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -988,6 +988,8 @@ def is_legacy_staging(d):
legacy = False
elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
legacy = False
+ elif bb.data.getVar('NATIVE_INSTALL_WORKS', d, 1) == "1":
+ legacy = False
if bb.data.getVar('PSTAGE_BROKEN_DESTDIR', d, 1) == "1":
legacy = True
return legacy