]> code.ossystems Code Review - openembedded-core.git/commitdiff
tune-thunderx.inc: don't append _be to ARMPKGARCH for tune-thunderx_be
authorMartin Jansa <Martin.Jansa@gmail.com>
Sat, 17 Oct 2020 09:27:10 +0000 (11:27 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 17 Oct 2020 22:22:15 +0000 (23:22 +0100)
* the _be suffix is already included in ARMPKGARCH with:
  ARMPKGARCH_tune-thunderx ?= "thunderx"
  ARMPKGARCH_tune-thunderx_be ?= "thunderx_be"

  and then it was appended again through ARMPKGSFX_ENDIAN_64 in
  meta/conf/machine/include/arm/arch-arm64.inc:
  TUNE_PKGARCH_64 = "${ARMPKGARCH}${ARMPKGSFX_ENDIAN_64}"

* broken since:
  commit 08433cc58abf0cf3e42b22d20870a50287cfb8bc
  Author: Khem Raj <raj.khem@gmail.com>
  Date:   Tue May 26 16:10:37 2020 -0700

    armv8/tunes: Set TUNE_PKGARCH_64 based on ARMPKGARCH

* fixes:
  scripts/tune/log.fake-thunderx.thunderx_be:    Error, the PACKAGE_ARCHS variable (all any noarch aarch64_be thunderx_be fake_thunderx) for DEFAULTTUNE (thunderx_be) does not contain TUNE_PKGARCH (thunderx_be_be).

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

index aa4d0501d400b5bb0e19fcad66282bf4ac2789ac..d1aaf4891e66029370aae6f4ec0e39bf8303cf77 100644 (file)
@@ -8,7 +8,7 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thunderx', ' -mcpu=thunde
 require conf/machine/include/arm/arch-armv8a.inc
 
 ARMPKGARCH_tune-thunderx ?= "thunderx"
-ARMPKGARCH_tune-thunderx_be ?= "thunderx_be"
+ARMPKGARCH_tune-thunderx_be ?= "thunderx"
 
 TUNE_FEATURES_tune-thunderx = "${TUNE_FEATURES_tune-aarch64} thunderx"
 TUNE_FEATURES_tune-thunderx_be = "${TUNE_FEATURES_tune-thunderx} bigendian"