diff options
| author | Jon Mason <jdmason@kudzu.us> | 2021-08-16 18:01:42 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-18 17:01:06 +0100 |
| commit | 1d381f21f5f13aa0c4e1a45683ed656ebeedd37d (patch) | |
| tree | 457112a9d6561423bab62effe4e46ebc7988dfc2 /meta/conf/machine/include/arm/armv6m | |
| parent | d9878e12b8b78074be1019679ce078940a79c875 (diff) | |
| download | poky-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')
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 @@ | |||
| 1 | DEFAULTTUNE ?= "cortexm0" | ||
| 2 | require conf/machine/include/arm/arch-armv6m.inc | ||
| 3 | |||
| 4 | TUNEVALID[cortexm0] = "Enable Cortex-M0 specific processor optimizations" | ||
| 5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm0', ' -mcpu=cortex-m0', '', d)}" | ||
| 6 | AVAILTUNES += "cortexm0" | ||
| 7 | |||
| 8 | ARMPKGARCH:tune-cortexm0 = "cortexm0" | ||
| 9 | TUNE_FEATURES:tune-cortexm0 = "${TUNE_FEATURES:tune-armv6m} cortexm0" | ||
| 10 | |||
| 11 | PACKAGE_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 @@ | |||
| 1 | DEFAULTTUNE ?= "cortexm0-plus" | ||
| 2 | require conf/machine/include/arm/arch-armv6m.inc | ||
| 3 | |||
| 4 | TUNEVALID[cortexm0-plus] = "Enable Cortex-M0 Plus specific processor optimizations" | ||
| 5 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm0-plus', ' -mcpu=cortex-m0plus', '', d)}" | ||
| 6 | AVAILTUNES += "cortexm0-plus" | ||
| 7 | |||
| 8 | ARMPKGARCH:tune-cortexm0-plus = "cortexm0-plus" | ||
| 9 | TUNE_FEATURES:tune-cortexm0-plus = "${TUNE_FEATURES:tune-armv6m} cortexm0-plus" | ||
| 10 | |||
| 11 | PACKAGE_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 | # | ||
| 4 | DEFAULTTUNE ?= "cortexm1" | ||
| 5 | |||
| 6 | TUNEVALID[cortexm1] = "Enable Cortex-M1 specific processor optimizations" | ||
| 7 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm1', ' -mcpu=cortex-m1', '', d)}" | ||
| 8 | |||
| 9 | require conf/machine/include/arm/arch-armv6m.inc | ||
| 10 | |||
| 11 | AVAILTUNES += "cortexm1" | ||
| 12 | ARMPKGARCH:tune-cortexm1 = "cortexm1" | ||
| 13 | TUNE_FEATURES:tune-cortexm1 = "${TUNE_FEATURES:tune-armv6m} cortexm1" | ||
| 14 | PACKAGE_EXTRA_ARCHS:tune-cortexm1 = "${PACKAGE_EXTRA_ARCHS:tune-armv6m} cortexm1" | ||
