summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-cortexr4.inc
blob: bde649f0904dcaa89c3d7c9cdc51877e898e34c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
DEFAULTTUNE ?= "cortexr4"

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

TUNEVALID[cortexr4] = "Enable Cortex-R4 specific processor optimizations"
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexr4", " -mtune=cortex-r4", "", d)}"

TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations"
TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv7r", " -march=armv7-r", "", d)}"

AVAILTUNES += "cortexr4"
ARMPKGARCH_tune-cortexr4 = "armv7r"
TUNE_FEATURES_tune-cortexr4 = "armv7r vfp cortexr4 arm thumb"
PACKAGE_EXTRA_ARCHS_tune-cortexr4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7r-vfp"