summaryrefslogtreecommitdiffstats
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)
downloadpoky-aaf9b6aa5ff4acc6034c505514e02816abc1cd5d.tar.gz
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 d4a761755c..d8711ad97f 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -988,6 +988,8 @@ def is_legacy_staging(d):
988 legacy = False 988 legacy = False
989 elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1": 989 elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
990 legacy = False 990 legacy = False
991 elif bb.data.getVar('NATIVE_INSTALL_WORKS', d, 1) == "1":
992 legacy = False
991 if bb.data.getVar('PSTAGE_BROKEN_DESTDIR', d, 1) == "1": 993 if bb.data.getVar('PSTAGE_BROKEN_DESTDIR', d, 1) == "1":
992 legacy = True 994 legacy = True
993 return legacy 995 return legacy