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/armv4 | |
| 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/armv4')
4 files changed, 50 insertions, 0 deletions
diff --git a/meta/conf/machine/include/arm/armv4/tune-arm920t.inc b/meta/conf/machine/include/arm/armv4/tune-arm920t.inc new file mode 100644 index 0000000000..8a615792df --- /dev/null +++ b/meta/conf/machine/include/arm/armv4/tune-arm920t.inc | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | DEFAULTTUNE ?= "armv4t" | ||
| 2 | |||
| 3 | require conf/machine/include/arm/arch-armv4.inc | ||
| 4 | |||
| 5 | TUNEVALID[arm920t] = "Enable arm920t specific processor optimizations" | ||
| 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm920t', ' -mcpu=arm920t', '', d)}" | ||
| 7 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm920t', 'armv4:', '', d)}" | ||
| 8 | |||
| 9 | AVAILTUNES += "arm920t" | ||
| 10 | ARMPKGARCH:tune-arm920t = "arm920t" | ||
| 11 | # mcpu is used so don't use armv4t as we don't want march | ||
| 12 | TUNE_FEATURES:tune-arm920t = "arm thumb arm920t" | ||
| 13 | PACKAGE_EXTRA_ARCHS:tune-arm920t = "${PACKAGE_EXTRA_ARCHS:tune-armv4t} arm920t arm920tt" | ||
diff --git a/meta/conf/machine/include/arm/armv4/tune-arm9tdmi.inc b/meta/conf/machine/include/arm/armv4/tune-arm9tdmi.inc new file mode 100644 index 0000000000..5ab286b576 --- /dev/null +++ b/meta/conf/machine/include/arm/armv4/tune-arm9tdmi.inc | |||
| @@ -0,0 +1,13 @@ | |||
| 1 | DEFAULTTUNE ?= "armv4t" | ||
| 2 | |||
| 3 | require conf/machine/include/arm/arch-armv4.inc | ||
| 4 | |||
| 5 | TUNEVALID[arm9tdmi] = "Enable arm9tdmi specific processor optimizations" | ||
| 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'arm9tdmi', ' -mcpu=arm9tdmi', '', d)}" | ||
| 7 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'arm9tdmi', 'armv4:', '', d)}" | ||
| 8 | |||
| 9 | AVAILTUNES += "arm9tdmi" | ||
| 10 | ARMPKGARCH:tune-arm9tdmi = "arm9tdmi" | ||
| 11 | # mcpu is used so don't use armv4t as we don't want march | ||
| 12 | TUNE_FEATURES:tune-arm9tdmi = "arm thumb arm9tdmi" | ||
| 13 | PACKAGE_EXTRA_ARCHS:tune-arm9tdmi = "${PACKAGE_EXTRA_ARCHS:tune-armv4t} arm9tdmi arm9tdmit" | ||
diff --git a/meta/conf/machine/include/arm/armv4/tune-ep9312.inc b/meta/conf/machine/include/arm/armv4/tune-ep9312.inc new file mode 100644 index 0000000000..0d481d3888 --- /dev/null +++ b/meta/conf/machine/include/arm/armv4/tune-ep9312.inc | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | DEFAULTTUNE ?= "ep9312" | ||
| 2 | |||
| 3 | require conf/machine/include/arm/arch-armv4.inc | ||
| 4 | |||
| 5 | TUNEVALID[ep9312] = "Enable Cirrus Logic EP9312 specific processor optimizations" | ||
| 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'ep9312', ' -march=ep9312 -mcpu=ep9312', '', d)}" | ||
| 7 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'ep9312', 'armv4:', '', d)}" | ||
| 8 | |||
| 9 | AVAILTUNES += "ep9312" | ||
| 10 | ARMPKGARCH:tune-ep9312 = "ep9312" | ||
| 11 | TUNE_FEATURES:tune-ep9312 = "thumb ep9312" | ||
| 12 | PACKAGE_EXTRA_ARCHS:tune-ep9312 = "${PACKAGE_EXTRA_ARCHS:tune-armv4t} ep9312t" | ||
diff --git a/meta/conf/machine/include/arm/armv4/tune-strongarm1100.inc b/meta/conf/machine/include/arm/armv4/tune-strongarm1100.inc new file mode 100644 index 0000000000..6f5033bbc1 --- /dev/null +++ b/meta/conf/machine/include/arm/armv4/tune-strongarm1100.inc | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | DEFAULTTUNE ?= "armv4" | ||
| 2 | |||
| 3 | require conf/machine/include/arm/arch-armv4.inc | ||
| 4 | |||
| 5 | TUNEVALID[strongarm] = "Enable Strongarm 1100 series processor optimizations" | ||
| 6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'strongarm', ' -mcpu=strongarm1100', '', d)}" | ||
| 7 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'strongarm', 'armv4:', '', d)}" | ||
| 8 | |||
| 9 | AVAILTUNES += "strongarm" | ||
| 10 | ARMPKGARCH:tune-strongarm = "strongarm" | ||
| 11 | TUNE_FEATURES:tune-strongarm = "arm strongarm" | ||
| 12 | PACKAGE_EXTRA_ARCHS:tune-strongarm = "${PACKAGE_EXTRA_ARCHS:tune-armv4} strongarm" | ||
