mirror of
git://git.yoctoproject.org/poky
synced 2026-08-13 01:30:18 +00: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:
parent
08d949ee12
commit
aaf9b6aa5f
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user