summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-13 15:37:00 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 15:37:00 +0000
commite2677471e6bf9fe775e6db4cd958869f530c355f (patch)
tree56e5d0182686acb1aaba98af45e0e8427c53133c
parentb772c8cde5a8d53de5588ff5d2771c1bd3eb259f (diff)
downloadopenembedded-core-e2677471e6bf9fe775e6db4cd958869f530c355f.tar.gz
openembedded-core-e2677471e6bf9fe775e6db4cd958869f530c355f.tar.bz2
openembedded-core-e2677471e6bf9fe775e6db4cd958869f530c355f.zip
base.bbclass: Add special stage keyword to override leagcy mode
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 a37949c7d4..7fe12f965f 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -968,6 +968,8 @@ def is_legacy_staging(d):
legacy = True
if stagefunc is None:
legacy = False
+ elif stagefunc.strip() == "use_do_install_for_stage":
+ legacy = False
elif stagefunc.strip() == "autotools_stage_all":
legacy = False
elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":