diff options
Diffstat (limited to 'yocto-poky/meta/conf/machine/include/tune-cortexm3.inc')
-rw-r--r-- | yocto-poky/meta/conf/machine/include/tune-cortexm3.inc | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/yocto-poky/meta/conf/machine/include/tune-cortexm3.inc b/yocto-poky/meta/conf/machine/include/tune-cortexm3.inc new file mode 100644 index 000000000..cbc4c0dd4 --- /dev/null +++ b/yocto-poky/meta/conf/machine/include/tune-cortexm3.inc @@ -0,0 +1,14 @@ +DEFAULTTUNE ?= "cortexm3" + +require conf/machine/include/arm/arch-armv7a.inc + +TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations" +TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexm3", " -mtune=cortex-m3", "", d)}" + +TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" +TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "armv7m", " -march=armv7-m", "", d)}" + +AVAILTUNES += "cortexm3" +ARMPKGARCH_tune-cortexm3 = "armv7m" +TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3" +PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp" |