]> code.ossystems Code Review - openembedded-core.git/commit
tcmode-default.inc: use the same TUNE_PKGARCH variable as PN set in go-cross
authorMartin Jansa <martin.jansa@gmail.com>
Thu, 16 May 2019 16:56:24 +0000 (16:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 17 May 2019 06:07:21 +0000 (07:07 +0100)
commit80dc146a5a4cd8772a49e4fca56eb5467cdb1451
treef6ad0cbee7e15d22108c48ce0a65187e26a91039
parent791bb6f1c95552a44660bb78c522fd8ecc4e6384
tcmode-default.inc: use the same TUNE_PKGARCH variable as PN set in go-cross

* otherwise P_V might be set for i686 and PN and RECIPE_MAINTAINER for i586
  from bitbake -e lib32-gcc-cross-i686:

  PREFERRED_VERSION_lib32-go-cross-i686="1.12%"
  RECIPE_MAINTAINER_pn-go-cross-i586="Khem Raj <raj.khem@gmail.com>"

  $ git grep 'go-cross-${'
  meta/conf/distro/include/maintainers.inc:RECIPE_MAINTAINER_pn-go-cross-${TUNE_PKGARCH} = "Khem Raj <raj.khem@gmail.com>"
  meta/conf/distro/include/tcmode-default.inc:PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}"
  meta/recipes-devtools/go/go-cross.inc:PN = "go-cross-${TUNE_PKGARCH}"

* actually is there a reson to use TUNE_PKGARCH here (unlike other cross/canadian-cross recipes
  which are using TARGET_ARCH/TRANSLATED_TARGET_ARCH)?

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/distro/include/tcmode-default.inc