summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/conf/machine/include/tune-cortexa57.inc
blob: 509aee48eab360154741e5df71c2bccf48c5cf98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
DEFAULTTUNE ?= "cortexa57"
require conf/machine/include/arm/arch-armv8.inc

TUNEVALID[cortexa57] = "Enable Cortex-A57 specific processor optimizations"
TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a"

TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", " -march=armv8-a", "" ,d)}"

MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa57", "cortexa57:", "" ,d)}"

TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa57", " -mtune=cortex-a57", "", d)}"

# Little Endian base configs
AVAILTUNES += "cortexa57"
ARMPKGARCH_tune-cortexa57 = "cortexa57"
TUNE_FEATURES_tune-cortexa57 = "${TUNE_FEATURES_tune-aarch64} cortexa57"
PACKAGE_EXTRA_ARCHS_tune-cortexa57 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa57"
BASE_LIB_tune-cortexa57 = "lib64"