[oe-commits] [openembedded-core] 01/07: tcmode-default.inc: use the same TUNE_PKGARCH variable as PN set in go-cross

git at git.openembedded.org git at git.openembedded.org
Fri May 17 06:07:56 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 80dc146a5a4cd8772a49e4fca56eb5467cdb1451
Author: Martin Jansa <martin.jansa at gmail.com>
AuthorDate: Thu May 16 16:56:24 2019 +0000

    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 at gmail.com>"
    
      $ git grep 'go-cross-${'
      meta/conf/distro/include/maintainers.inc:RECIPE_MAINTAINER_pn-go-cross-${TUNE_PKGARCH} = "Khem Raj <raj.khem at 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 at gmail.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/conf/distro/include/tcmode-default.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/tcmode-default.inc b/meta/conf/distro/include/tcmode-default.inc
index daacfe2..668f313 100644
--- a/meta/conf/distro/include/tcmode-default.inc
+++ b/meta/conf/distro/include/tcmode-default.inc
@@ -68,7 +68,7 @@ PREFERRED_VERSION_qemu-native ?= "${QEMUVERSION}"
 PREFERRED_VERSION_nativesdk-qemu ?= "${QEMUVERSION}"
 
 PREFERRED_VERSION_virtual/${TARGET_PREFIX}go ?= "${GOVERSION}"
-PREFERRED_VERSION_go-cross-${TARGET_ARCH} ?= "${GOVERSION}"
+PREFERRED_VERSION_go-cross-${TUNE_PKGARCH} ?= "${GOVERSION}"
 PREFERRED_VERSION_go-crosssdk-${SDK_ARCH} ?= "${GOVERSION}"
 PREFERRED_VERSION_go-cross-canadian-${TRANSLATED_TARGET_ARCH} ?= "${GOVERSION}"
 PREFERRED_VERSION_go ?= "${GOVERSION}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list