cortex-m0.inc: Add tuning for cortex-m0
PATCH 1/1 cortex-m0.inc: Add tuning for cortex-m0
Add tuning or ARM cortex-m0.
Signed-off-by Jonathan Richardson <[email protected]>
--- meta/conf/machine/include/tune-cortex-m0.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/conf/machine/include/tune-cortex-m0.inc
meta/conf/machine/include/tune-cortex-m0.inc new file +11 -0
@@ -0,0 +1,11 @@ +DEFAULTTUNE ?= "cortexm0" +require conf/machine/include/arm/arch-armv6m.inc + +TUNEVALID[cortexm0] = "Enable Cortex-M0 specific processor optimizations" +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm0', ' -mcpu=cortex-m0', '', d)}" +AVAILTUNES += "cortexm0" + +ARMPKGARCH_tune-cortexm0 = "cortexm0" +TUNE_FEATURES_tune-cortexm0 = "${TUNE_FEATURES_tune-armv6m} cortexm0" + +PACKAGE_EXTRA_ARCHS_tune-cortexm0 = "${PACKAGE_EXTRA_ARCHS_tune-armv6m} cortexm0"
Signature · 1 line
2.20.1
Quoted 4 lines · Jonathan Richardson via lists.openembedded.org
Add tuning or ARM cortex-m0.
Signed-off-by Jonathan Richardson <[email protected]>
Looks like what I have queued for m0. So, one less for me to send out :)
Reviewed-off-by Jon Mason <[email protected]>
Quoted 11 lines
--- meta/conf/machine/include/tune-cortex-m0.inc | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 meta/conf/machine/include/tune-cortex-m0.incmeta/conf/machine/include/tune-cortex-m0.inc new file +0
-0
meta/conf/machine/include/tune-cortex-m0.inc line 10
Quoted 10 lines
meta/conf/machine/include/tune-cortex-m0.inc new file +10
-0@@ -0,0 +1,11 @@ +DEFAULTTUNE ?= "cortexm0" +require conf/machine/include/arm/arch-armv6m.inc + +TUNEVALID[cortexm0] = "Enable Cortex-M0 specific processor optimizations" +TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm0', ' -mcpu=cortex-m0', '', d)}" +AVAILTUNES += "cortexm0" + +ARMPKGARCH_tune-cortexm0 = "cortexm0" +TUNE_FEATURES_tune-cortexm0 = "${TUNE_FEATURES_tune-armv6m} cortexm0" +
If I were going to be nitty, I would say to remove this line :)
Thanks,
Jon
Quoted 7 lines
meta/conf/machine/include/tune-cortex-m0.inc new file +1
-1+PACKAGE_EXTRA_ARCHS_tune-cortexm0 = "${PACKAGE_EXTRA_ARCHS_tune-armv6m} cortexm0" --2.20.1