diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 15:37:00 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 15:37:00 +0000 |
commit | e2677471e6bf9fe775e6db4cd958869f530c355f (patch) | |
tree | 56e5d0182686acb1aaba98af45e0e8427c53133c /meta/classes/base.bbclass | |
parent | b772c8cde5a8d53de5588ff5d2771c1bd3eb259f (diff) | |
download | poky-e2677471e6bf9fe775e6db4cd958869f530c355f.tar.gz |
base.bbclass: Add special stage keyword to override leagcy mode
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r-- | meta/classes/base.bbclass | 2 |
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): | |||
968 | legacy = True | 968 | legacy = True |
969 | if stagefunc is None: | 969 | if stagefunc is None: |
970 | legacy = False | 970 | legacy = False |
971 | elif stagefunc.strip() == "use_do_install_for_stage": | ||
972 | legacy = False | ||
971 | elif stagefunc.strip() == "autotools_stage_all": | 973 | elif stagefunc.strip() == "autotools_stage_all": |
972 | legacy = False | 974 | legacy = False |
973 | elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1": | 975 | elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1": |