Skip to contentSkip to conversation

cortex-m0.inc: Add tuning for cortex-m0

PATCH Jonathan Richardson 1 participant 1 message Sep 24, 2020 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

My commit said "Add tuning for" but the f went missing after I created the patch using git format-patch -M -n1 -s --subject-prefix="meta-oe][PATCH". Not sure why.

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Jonathan Richardson via lists.openembedded.org
Sent: Wednesday, September 23, 2020 3:31 PM
To: [email protected]
Cc: Jonathan Richardson <[email protected]>
Subject: [OE-core][PATCH 1/1] cortex-m0.inc: Add tuning for cortex-m0

Add tuning or ARM cortex-m0.

---
 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
(quoted diff) +0 -0

b/meta/conf/machine/include/tune-cortex-m0.inc
new file mode 100644
index 0000000000..a59c8af941

meta/conf/machine/include/tune-cortex-m0.inc new file +5 -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