mirror of
https://git.yoctoproject.org/poky
synced 2026-02-21 00:49:41 +01:00
* 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).
(From OE-Core rev: 8f477b9cf456b9ad7c7fab9768ba47daa124ada7)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
729 B
PHP
20 lines
729 B
PHP
DEFAULTTUNE ?= "thunderx"
|
|
AVAILTUNES += "thunderx thunderx_be"
|
|
|
|
TUNEVALID[thunderx] = "Enable instructions for Cavium ThunderX"
|
|
|
|
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thunderx', ' -mcpu=thunderx', '',d)}"
|
|
|
|
require conf/machine/include/arm/arch-armv8a.inc
|
|
|
|
ARMPKGARCH_tune-thunderx ?= "thunderx"
|
|
ARMPKGARCH_tune-thunderx_be ?= "thunderx"
|
|
|
|
TUNE_FEATURES_tune-thunderx = "${TUNE_FEATURES_tune-aarch64} thunderx"
|
|
TUNE_FEATURES_tune-thunderx_be = "${TUNE_FEATURES_tune-thunderx} bigendian"
|
|
BASE_LIB_tune-thunderx = "lib64"
|
|
BASE_LIB_tune-thunderx_be = "lib64"
|
|
|
|
PACKAGE_EXTRA_ARCHS_tune-thunderx = "${PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto} thunderx"
|
|
PACKAGE_EXTRA_ARCHS_tune-thunderx_be = "aarch64_be thunderx_be"
|