mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
arch-arm64 is the base tune file for aarch64. Update this to allow the system to work with both aarch32 and aarch64 (multilib). arch-armv8 is for compatibility, it simply uses the base config for now. feature-arm-thumb was updated, since aarch64 mode does NOT have thumb support. We should only be processing warnings and additional arguments if thumb support is enabled on the processor core. (From OE-Core rev: 03d2f5646485b565cc14a0009b7d5224ab298f4c) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
37 lines
1.6 KiB
PHP
37 lines
1.6 KiB
PHP
DEFAULTTUNE ?= "aarch64"
|
|
|
|
require conf/machine/include/arm/arch-armv7a.inc
|
|
|
|
TUNEVALID[aarch64] = "Enable instructions for aarch64"
|
|
|
|
MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", ":aarch64", "" ,d)}"
|
|
|
|
# Little Endian base configs
|
|
AVAILTUNES += "aarch64 aarch64_be"
|
|
ARMPKGARCH_tune-aarch64 ?= "aarch64"
|
|
ARMPKGARCH_tune-aarch64_be ?= "aarch64_be"
|
|
TUNE_FEATURES_tune-aarch64 ?= "aarch64"
|
|
TUNE_FEATURES_tune-aarch64_be ?= "${TUNE_FEATURES_tune-aarch64} bigendian"
|
|
BASE_LIB_tune-aarch64 = "lib64"
|
|
BASE_LIB_tune-aarch64_be = "lib64"
|
|
|
|
PACKAGE_EXTRA_ARCHS_tune-aarch64 = "aarch64"
|
|
PACKAGE_EXTRA_ARCHS_tune-aarch64_be = "aarch64_be"
|
|
|
|
ARMPKGSFX_ENDIAN_64 = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "_be", "", d)}"
|
|
TUNE_ARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}"
|
|
TUNE_PKGARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}"
|
|
ABIEXTENSION_64 = ""
|
|
TARGET_FPU_64 = ""
|
|
|
|
# Duplicated from arch-arm.inc
|
|
TUNE_ARCH_32 = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "armeb", "arm", d)}"
|
|
TUNE_PKGARCH_32 = "${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}"
|
|
ABIEXTENSION_32 = "eabi"
|
|
TARGET_FPU_32 = "${@d.getVar('ARMPKGSFX_FPU', True).strip('-') or 'soft'}"
|
|
|
|
TUNE_ARCH = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${TUNE_ARCH_64}", "${TUNE_ARCH_32}" ,d)}"
|
|
TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${TUNE_PKGARCH_64}", "${TUNE_PKGARCH_32}" ,d)}"
|
|
ABIEXTENSION = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${ABIEXTENSION_64}", "${ABIEXTENSION_32}" ,d)}"
|
|
TARGET_FPU = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${TARGET_FPU_64}", "${TARGET_FPU_32}" ,d)}"
|