summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine/include/arm/armv6m
diff options
context:
space:
mode:
authorJon Mason <jdmason@kudzu.us>2021-08-16 18:01:42 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-18 17:01:06 +0100
commit1d381f21f5f13aa0c4e1a45683ed656ebeedd37d (patch)
tree457112a9d6561423bab62effe4e46ebc7988dfc2 /meta/conf/machine/include/arm/armv6m
parentd9878e12b8b78074be1019679ce078940a79c875 (diff)
downloadpoky-1d381f21f5f13aa0c4e1a45683ed656ebeedd37d.tar.gz
conf/machine: move tune files to architecture directories
Move all of the tune files found in conf/machine/include into their respective architecture directories in that same location. All references to these will need to be updated. So, change the relevant ones for this tree in this commit as well. For the ARM tunes, nest them one further into armv8a, armv8m, etc. and rename some to make them uniform with the rest of the tunes. (From OE-Core rev: b6f15209bcfff953cce69da97a93f9ddff141ced) Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine/include/arm/armv6m')
-rw-r--r--meta/conf/machine/include/arm/armv6m/tune-cortexm0.inc11
-rw-r--r--meta/conf/machine/include/arm/armv6m/tune-cortexm0plus.inc11
-rw-r--r--meta/conf/machine/include/arm/armv6m/tune-cortexm1.inc14
3 files changed, 36 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv6m/tune-cortexm0.inc b/meta/conf/machine/include/arm/armv6m/tune-cortexm0.inc
new file mode 100644
index 0000000000..aadc5326ce
--- /dev/null
+++ b/meta/conf/machine/include/arm/armv6m/tune-cortexm0.inc
@@ -0,0 +1,11 @@
1DEFAULTTUNE ?= "cortexm0"
2require conf/machine/include/arm/arch-armv6m.inc
3
4TUNEVALID[cortexm0] = "Enable Cortex-M0 specific processor optimizations"
5TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm0', ' -mcpu=cortex-m0', '', d)}"
6AVAILTUNES += "cortexm0"
7
8ARMPKGARCH:tune-cortexm0 = "cortexm0"
9TUNE_FEATURES:tune-cortexm0 = "${TUNE_FEATURES:tune-armv6m} cortexm0"
10
11PACKAGE_EXTRA_ARCHS:tune-cortexm0 = "${PACKAGE_EXTRA_ARCHS:tune-armv6m} cortexm0"
diff --git a/meta/conf/machine/include/arm/armv6m/tune-cortexm0plus.inc b/meta/conf/machine/include/arm/armv6m/tune-cortexm0plus.inc
new file mode 100644
index 0000000000..a3cf3f0bd2
--- /dev/null
+++ b/meta/conf/machine/include/arm/armv6m/tune-cortexm0plus.inc
@@ -0,0 +1,11 @@
1DEFAULTTUNE ?= "cortexm0-plus"
2require conf/machine/include/arm/arch-armv6m.inc
3
4TUNEVALID[cortexm0-plus] = "Enable Cortex-M0 Plus specific processor optimizations"
5TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm0-plus', ' -mcpu=cortex-m0plus', '', d)}"
6AVAILTUNES += "cortexm0-plus"
7
8ARMPKGARCH:tune-cortexm0-plus = "cortexm0-plus"
9TUNE_FEATURES:tune-cortexm0-plus = "${TUNE_FEATURES:tune-armv6m} cortexm0-plus"
10
11PACKAGE_EXTRA_ARCHS:tune-cortexm0-plus = "${PACKAGE_EXTRA_ARCHS:tune-armv6m} cortexm0-plus"
diff --git a/meta/conf/machine/include/arm/armv6m/tune-cortexm1.inc b/meta/conf/machine/include/arm/armv6m/tune-cortexm1.inc
new file mode 100644
index 0000000000..16661f3a26
--- /dev/null
+++ b/meta/conf/machine/include/arm/armv6m/tune-cortexm1.inc
@@ -0,0 +1,14 @@
1#
2# Tune Settings for Cortex-M1
3#
4DEFAULTTUNE ?= "cortexm1"
5
6TUNEVALID[cortexm1] = "Enable Cortex-M1 specific processor optimizations"
7TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm1', ' -mcpu=cortex-m1', '', d)}"
8
9require conf/machine/include/arm/arch-armv6m.inc
10
11AVAILTUNES += "cortexm1"
12ARMPKGARCH:tune-cortexm1 = "cortexm1"
13TUNE_FEATURES:tune-cortexm1 = "${TUNE_FEATURES:tune-armv6m} cortexm1"
14PACKAGE_EXTRA_ARCHS:tune-cortexm1 = "${PACKAGE_EXTRA_ARCHS:tune-armv6m} cortexm1"