summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2019-11-25 18:22:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-09 10:21:51 +0000
commit2b2be8086e66c0017eba57cac042466208b51583 (patch)
treeeaa162fdb7d71a2de7224fc9f75c3643812065cf /meta/classes/base.bbclass
parented884c585f90dfc352041c258802cf90d73914f2 (diff)
downloadpoky-2b2be8086e66c0017eba57cac042466208b51583.tar.gz
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>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass5
1 files changed, 0 insertions, 5 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index 3306b316bb..31457f9f12 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -138,11 +138,6 @@ def setup_hosttools_dir(dest, toolsvar, d, fatal=True):
138 os.symlink(srctool, desttool) 138 os.symlink(srctool, desttool)
139 else: 139 else:
140 notfound.append(tool) 140 notfound.append(tool)
141 # Force "python" -> "python2"
142 desttool = os.path.join(dest, "python")
143 if not os.path.exists(desttool):
144 srctool = "python2"
145 os.symlink(srctool, desttool)
146 141
147 if notfound and fatal: 142 if notfound and fatal:
148 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)) 143 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))