]> code.ossystems Code Review - openembedded-core.git/commit
go.bbclass: set TMPDIR during compilation
authorMatt Madison <matt@madison.systems>
Thu, 14 Sep 2017 19:22:30 +0000 (16:22 -0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Sep 2017 08:03:33 +0000 (09:03 +0100)
commit5de3de12c70f01753491c46b5622b0d273c3257b
tree2e5bb521fa96178d5f00efcb82fa640bacfced9f
parente2171f14a2dbf630a926a6792f6e6355f80e18b1
go.bbclass: set TMPDIR during compilation

The go build tool creates working directories under
$TMPDIR for all of its processing.  Create a directory
under ${WORKDIR} for this and point TMPDIR at it during
compilation, so that systems that have a relatively
small /tmp filesystems can still compile larger Go
packages.

Signed-off-by: Matt Madison <matt@madison.systems>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/go.bbclass