diff options
Diffstat (limited to 'meta/conf/machine/include/tune-cortexr4.inc')
-rw-r--r-- | meta/conf/machine/include/tune-cortexr4.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/conf/machine/include/tune-cortexr4.inc b/meta/conf/machine/include/tune-cortexr4.inc new file mode 100644 index 0000000000..57b6717e58 --- /dev/null +++ b/meta/conf/machine/include/tune-cortexr4.inc | |||
@@ -0,0 +1,14 @@ | |||
1 | DEFAULTTUNE ?= "cortexr4" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNEVALID[cortexr4] = "Enable Cortex-R4 specific processor optimizations" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexr4", " -mtune=cortex-r4", "", d)}" | ||
7 | |||
8 | TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations" | ||
9 | TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv7r", " -march=armv7-r", "", d)}" | ||
10 | |||
11 | AVAILTUNES += "cortexr4" | ||
12 | ARMPKGARCH_tune-cortexr4 = "armv7r" | ||
13 | TUNE_FEATURES_tune-cortexr4 = "armv7r vfp cortexr4" | ||
14 | PACKAGE_EXTRA_ARCHS_tune-cortexr4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7r-vfp" | ||