mirror of
https://git.yoctoproject.org/poky
synced 2026-03-02 05:19:40 +01:00
The value of PACKAGE_EXTRA_ARCHS_tune-thunderx should be based on
PACKAGE_EXTRA_ARCHS_tune-armv8a-crc-crypto instead of armv8a-crc-crypto.
Otherwise we would get some sanity check error like this:
OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Error, the PACKAGE_ARCHS variable (all any noarch armv8a-crc-crypto thunderx qemuarm64) for DEFAULTTUNE (thunderx) does not contain TUNE_PKGARCH (aarch64)
(From OE-Core rev: 13cc0f7c0bd98ea228e9bdf51043117d38837ce7)
Signed-off-by: Kevin Hao <kexin.hao@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 lines
732 B
PHP
20 lines
732 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_be"
|
|
|
|
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"
|