From aaf9b6aa5ff4acc6034c505514e02816abc1cd5d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 5 Nov 2009 11:33:04 +0000 Subject: 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 --- meta/classes/base.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/classes') diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index d4a761755..d8711ad97 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 -- cgit v1.2.3