mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
hosttools: no longer check for or provide host python 2 to builds
(From OE-Core rev: 5f8f16b17f66966ae91aeabc23e97de5ecd17447) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
ed884c585f
commit
2b2be8086e
@@ -138,11 +138,6 @@ def setup_hosttools_dir(dest, toolsvar, d, fatal=True):
|
||||
os.symlink(srctool, desttool)
|
||||
else:
|
||||
notfound.append(tool)
|
||||
# Force "python" -> "python2"
|
||||
desttool = os.path.join(dest, "python")
|
||||
if not os.path.exists(desttool):
|
||||
srctool = "python2"
|
||||
os.symlink(srctool, desttool)
|
||||
|
||||
if notfound and fatal:
|
||||
bb.fatal("The following required tools (as specified by HOSTTOOLS) appear to be unavailable in PATH, please install them in order to proceed:\n %s" % " ".join(notfound))
|
||||
|
||||
Reference in New Issue
Block a user