summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/arm/armv7r/tune-cortexr5.inc
blob: 4c8985292b8123f902ed972ae2a683c4e3c4b451 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
# Tune Settings for Cortex-R5
#
DEFAULTTUNE ?= "cortexr5"

TUNEVALID[cortexr5] = "Enable Cortex-R5 specific processor optimizations"
TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr5', ' -mcpu=cortex-r5', '', d)}"

require conf/machine/include/arm/arch-armv7r.inc

AVAILTUNES                            += "cortexr5"
ARMPKGARCH:tune-cortexr5               = "cortexr5"
TUNE_FEATURES:tune-cortexr5            = "${TUNE_FEATURES:tune-armv7r-vfpv3d16} cortexr5 idiv"
PACKAGE_EXTRA_ARCHS:tune-cortexr5      = "${PACKAGE_EXTRA_ARCHS:tune-armv7r-vfpv3d16} cortexr5-vfpv3d16"

AVAILTUNES                            += "cortexr5hf"
ARMPKGARCH:tune-cortexr5hf             = "cortexr5"
TUNE_FEATURES:tune-cortexr5hf          = "${TUNE_FEATURES:tune-cortexr5} callconvention-hard"
PACKAGE_EXTRA_ARCHS:tune-cortexr5hf    = "cortexr5hf-vfpv3d16"