summaryrefslogtreecommitdiffstats
path: root/meta/classes/base.bbclass
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-04-28 17:01:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-05-01 08:56:35 +0100
commit160c4fd9aea84f2aba27158c998a3b6340471040 (patch)
treed20edf38e3c38e732c1d35d22d5941d4b68f40ba /meta/classes/base.bbclass
parenta00f8981d8d2b361cc2c5d08d7cc6040c79af3cb (diff)
downloadpoky-160c4fd9aea84f2aba27158c998a3b6340471040.tar.gz
bitbake.conf: Add HOSTTOOLS_DIR for ${TMPDIR}/hosttools
The path to where to install and find the tools copied from the host environment is already used in a couple of places. This warrants it to get its own variable. (From OE-Core rev: 8164c466943ffedff399009bf5547dba4f06d6c8) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/base.bbclass')
-rw-r--r--meta/classes/base.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass
index e29821f199..d95afb7b9b 100644
--- a/meta/classes/base.bbclass
+++ b/meta/classes/base.bbclass
@@ -239,8 +239,8 @@ python base_eventhandler() {
239 oe.utils.features_backfill("DISTRO_FEATURES", e.data) 239 oe.utils.features_backfill("DISTRO_FEATURES", e.data)
240 oe.utils.features_backfill("MACHINE_FEATURES", e.data) 240 oe.utils.features_backfill("MACHINE_FEATURES", e.data)
241 # Works with the line in layer.conf which changes PATH to point here 241 # Works with the line in layer.conf which changes PATH to point here
242 setup_hosttools_dir(d.expand('${TMPDIR}/hosttools'), 'HOSTTOOLS', d) 242 setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS', d)
243 setup_hosttools_dir(d.expand('${TMPDIR}/hosttools'), 'HOSTTOOLS_NONFATAL', d, fatal=False) 243 setup_hosttools_dir(d.getVar('HOSTTOOLS_DIR'), 'HOSTTOOLS_NONFATAL', d, fatal=False)
244 244
245 if isinstance(e, bb.event.BuildStarted): 245 if isinstance(e, bb.event.BuildStarted):
246 localdata = bb.data.createCopy(e.data) 246 localdata = bb.data.createCopy(e.data)