summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/tune-cortexr4.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/machine/include/tune-cortexr4.inc')
-rw-r--r--meta/conf/machine/include/tune-cortexr4.inc18
1 files changed, 14 insertions, 4 deletions
diff --git a/meta/conf/machine/include/tune-cortexr4.inc b/meta/conf/machine/include/tune-cortexr4.inc
index c9193ca8c3..738f5afdd8 100644
--- a/meta/conf/machine/include/tune-cortexr4.inc
+++ b/meta/conf/machine/include/tune-cortexr4.inc
@@ -1,5 +1,15 @@
1require conf/machine/include/arm/arch-arm.inc 1DEFAULTTUNE ?= "cortexr4"
2ARMPKGARCH ?= "armv7r"
3
4require conf/machine/include/arm/arch-armv7a.inc
5
6TUNEVALID[cortexr4] = "Enable Cortex-R4 specific processor optimizations"
7TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "cortexr4", "-mtune=cortex-r4", "", d)}"
8
9TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations"
10TUNE_CCARGS += "${@bb.utils.contains("TUNE_FEATURES", "armv7r", "-march=armv7-m", "", d)}"
11
12AVAILTUNES += "cortexr4"
13TUNE_FEATURES_tune-cortexr4 = "armv7r vfp coretexr4"
14PACKAGE_EXTRA_ARCHS_tune-cortexr4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7r"
2 15
3# valid options for -march: `armv7', `armv7-r'
4TUNE_CCARGS = "-march=armv7-r -mtune=cortex-r4 -mfpu=vfp -mfloat-abi=softfp"
5TUNE_PKGARCH = "armv7"