diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-05 11:33:04 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:23 +0000 |
commit | aaf9b6aa5ff4acc6034c505514e02816abc1cd5d (patch) | |
tree | 7a8de549c2cd1373f82f91de526e0f9deedc3be7 /meta/classes | |
parent | 08d949ee12b922cd2fb7003703e3a4e3ff93cd58 (diff) | |
download | openembedded-core-aaf9b6aa5ff4acc6034c505514e02816abc1cd5d.tar.gz openembedded-core-aaf9b6aa5ff4acc6034c505514e02816abc1cd5d.tar.bz2 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>
Diffstat (limited to 'meta/classes')
-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 d4a761755c..d8711ad97f 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 |