mirror of
https://git.yoctoproject.org/poky
synced 2026-09-19 09:49:33 +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
|
legacy = False
|
||||||
elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
|
elif stagefunc.strip() == "do_stage_native" and bb.data.getVar('AUTOTOOLS_NATIVE_STAGE_INSTALL', d, 1) == "1":
|
||||||
legacy = False
|
legacy = False
|
||||||
|
elif bb.data.getVar('NATIVE_INSTALL_WORKS', d, 1) == "1":
|
||||||
|
legacy = False
|
||||||
if bb.data.getVar('PSTAGE_BROKEN_DESTDIR', d, 1) == "1":
|
if bb.data.getVar('PSTAGE_BROKEN_DESTDIR', d, 1) == "1":
|
||||||
legacy = True
|
legacy = True
|
||||||
return legacy
|
return legacy
|
||||||
|
|||||||
Reference in New Issue
Block a user