golang: Move build cache into $(TMP_DIR)
authorJeffery To <redacted>
Fri, 16 Oct 2020 09:13:42 +0000 (17:13 +0800)
committerJeffery To <redacted>
Fri, 16 Oct 2020 09:13:42 +0000 (17:13 +0800)
commitb70fb40c11eaee21a38f37ebc9b29edb486c4d93
tree527e37decce95e8f569cdfa1a5340df9a81c4266
parent386f18a7e59d47fbc4ae053a0957fafc7ce7ded6
golang: Move build cache into $(TMP_DIR)

This changes the default build cache directory from $(TOPDIR)/.go-build
to $(TMP_DIR)/go-build, so that the cache directory is ignored by git
and is removed by "make dirclean".

This does not move/remove a build cache directory in the previous
location; it will need to be removed manually.

Fixes https://github.com/openwrt/packages/issues/13675.

Signed-off-by: Jeffery To <redacted>
lang/golang/golang-values.mk
lang/golang/golang/Config.in
git clone https://git.99rst.org/PROJECT