Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame^] | 1 | DEFAULTTUNE ?= "aarch64" |
| 2 | |
| 3 | require conf/machine/include/arm/arch-armv7a.inc |
| 4 | |
| 5 | TUNEVALID[aarch64] = "Enable instructions for aarch64" |
| 6 | |
| 7 | MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", ":aarch64", "" ,d)}" |
| 8 | |
| 9 | # Little Endian base configs |
| 10 | AVAILTUNES += "aarch64 aarch64_be" |
| 11 | ARMPKGARCH_tune-aarch64 ?= "aarch64" |
| 12 | ARMPKGARCH_tune-aarch64_be ?= "aarch64_be" |
| 13 | TUNE_FEATURES_tune-aarch64 ?= "aarch64" |
| 14 | TUNE_FEATURES_tune-aarch64_be ?= "${TUNE_FEATURES_tune-aarch64} bigendian" |
| 15 | BASE_LIB_tune-aarch64 = "lib64" |
| 16 | BASE_LIB_tune-aarch64_be = "lib64" |
| 17 | |
| 18 | PACKAGE_EXTRA_ARCHS_tune-aarch64 = "aarch64" |
| 19 | PACKAGE_EXTRA_ARCHS_tune-aarch64_be = "aarch64_be" |
| 20 | |
| 21 | ARMPKGSFX_ENDIAN_64 = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "_be", "", d)}" |
| 22 | TUNE_ARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" |
| 23 | TUNE_PKGARCH_64 = "aarch64${ARMPKGSFX_ENDIAN_64}" |
| 24 | ABIEXTENSION_64 = "" |
| 25 | TARGET_FPU_64 = "" |
| 26 | |
| 27 | # Duplicated from arch-arm.inc |
| 28 | TUNE_ARCH_32 = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "armeb", "arm", d)}" |
| 29 | TUNE_PKGARCH_32 = "${ARMPKGARCH}${ARMPKGSFX_THUMB}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}" |
| 30 | ABIEXTENSION_32 = "eabi" |
| 31 | TARGET_FPU_32 = "${@d.getVar('ARMPKGSFX_FPU', True).strip('-') or 'soft'}" |
| 32 | |
| 33 | TUNE_ARCH = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${TUNE_ARCH_64}", "${TUNE_ARCH_32}" ,d)}" |
| 34 | TUNE_PKGARCH = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${TUNE_PKGARCH_64}", "${TUNE_PKGARCH_32}" ,d)}" |
| 35 | ABIEXTENSION = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${ABIEXTENSION_64}", "${ABIEXTENSION_32}" ,d)}" |
| 36 | TARGET_FPU = "${@bb.utils.contains("TUNE_FEATURES", "aarch64", "${TARGET_FPU_64}", "${TARGET_FPU_32}" ,d)}" |