mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 18:32:12 +02:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user