mirror of
https://git.yoctoproject.org/poky
synced 2026-07-16 15:57:04 +00:00
classes: go-mod: do not pack go mod cache
Clean go module cache from builddir to prevent it of beeing packed. (From OE-Core rev: c850931590ff22da4d38756f957b88e04078c76c) Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 328bea56dec8f83b5c118f567e122510f9243087) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
committed by
Steve Sakoman
parent
6ae41f83ca
commit
96242e3146
@@ -18,3 +18,7 @@ inherit go
|
||||
|
||||
GO_WORKDIR ?= "${GO_IMPORT}"
|
||||
do_compile[dirs] += "${B}/src/${GO_WORKDIR}"
|
||||
|
||||
export GOMODCACHE = "${B}/.mod"
|
||||
|
||||
do_compile[cleandirs] += "${B}/.mod"
|
||||
|
||||
Reference in New Issue
Block a user