]> code.ossystems Code Review - openembedded-core.git/commit
go: Change from TARGET_ARCH to TUNE_PKGARCH
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 31 Oct 2018 14:52:11 +0000 (14:52 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 6 Nov 2018 12:14:05 +0000 (12:14 +0000)
commite3c7e1703499e6a5332d9ab8a941671ec8235c4f
treeb0e333f8dc7c17b6ed3c730cbd533eddec3cf052
parent786322ec408e2ef5cd6fb809456e0453e5f5e162
go: Change from TARGET_ARCH to TUNE_PKGARCH

Right now go-cross is changing signatures when you change TUNE for a given
architecture. In particular this breaks layer tests like:

yocto-check-layer ../meta-yocto-bsp/ --machines qemuarm beaglebone-yocto

This changes the PN addtion to something containing the tune rather than
the arch which avoids these kinds of errors. If go-cross can be tune
independent that would be nice but currently that isn't the case.

[YOCTO #12586]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/go.bbclass
meta/recipes-devtools/go/go-cross.inc
meta/recipes-devtools/go/go-runtime.inc
meta/recipes-devtools/go/go-target.inc