]> code.ossystems Code Review - openembedded-core.git/commitdiff
base.bbclass: Add an option of forcing the new staging mechanism
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 5 Nov 2009 11:33:04 +0000 (11:33 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Fri, 13 Nov 2009 12:15:23 +0000 (12:15 +0000)
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>
meta/classes/base.bbclass

index d4a761755cbd9e364a9df48fdc682c86196f94c5..d8711ad97f77e18538305fb7fa2fed7378b5677b 100644 (file)
@@ -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