]> code.ossystems Code Review - openembedded-core.git/commit
go: correctly set debug-prefix-map and build directory
authorAlexander Kanavin <alex.kanavin@gmail.com>
Sat, 1 Jan 2022 11:29:56 +0000 (12:29 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 5 Jan 2022 17:18:11 +0000 (17:18 +0000)
commit9985b17a30bb9b9f1bc82a44662687db5cead66e
treec106cc23192da8fa772e429ac74eee5c81332c2f
parentffdaa1a0527691d66dd28e86bd015bfad7a020f6
go: correctly set debug-prefix-map and build directory

Go has its own system for creating temporary build
sub-directories with randomized names, and setting
up debug-prefix-map on the fly to prevent those
directories leaking into target binaries. OE's own
settings were clashing with it, so this change
carefully avoids the two stepping on each other.

Additionally, the top level build directory cannot
be named 'go-something'.

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/go.bbclass
meta/recipes-devtools/go/go-common.inc
meta/recipes-devtools/go/go-runtime.inc
meta/recipes-devtools/go/go-target.inc