diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2016-02-01 13:42:08 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-02-02 14:44:16 +0000 |
commit | 654eddce352f3681a716116c6bd9cf0c18b09e5a (patch) | |
tree | 154013629f65fe9be3c3227f5f389e4f82801995 | |
parent | 322015a2ddc124276475e6fb985039e81b4886de (diff) | |
download | poky-654eddce352f3681a716116c6bd9cf0c18b09e5a.tar.gz |
machine/include: drop tune-cortexm*.inc and tune-cortexr4.inc
The Cortex M1, M3 and R4 CPU tuning files are poorly tested (if at
all). They have no obvious users either inside or outside oe-core.
Until OE officially gains support for CPUs without an MMU, these
tuning files are probably better maintained outside of oe-core (e.g.
in a separate meta-nommu layer).
(From OE-Core rev: 7a1445c55de904115b950c8e50432a9f11f02208)
Signed-off-by: Andre McCurdy <armccurdy@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/conf/machine/include/tune-cortexm1.inc | 11 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexm3.inc | 15 | ||||
-rw-r--r-- | meta/conf/machine/include/tune-cortexr4.inc | 15 | ||||
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-configure-common.inc | 2 |
4 files changed, 0 insertions, 43 deletions
diff --git a/meta/conf/machine/include/tune-cortexm1.inc b/meta/conf/machine/include/tune-cortexm1.inc deleted file mode 100644 index 8d882d426d..0000000000 --- a/meta/conf/machine/include/tune-cortexm1.inc +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | DEFAULTTUNE ?= "armv7a" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNEVALID[cortexm1] = "Enable Cortex-M1 specific processor optimizations" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm1', ' -mcpu=cortex-m1', '', d)}" | ||
7 | |||
8 | AVAILTUNES += "cortexm1" | ||
9 | ARMPKGARCH_tune-cortexm1 = "cortexm1" | ||
10 | TUNE_FEATURES_tune-cortexm1 = "${TUNE_FEATURES_tune-armv7a} cortexm1" | ||
11 | PACKAGE_EXTRA_ARCHS_tune-cortexm1 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} cortexm1-vfp" | ||
diff --git a/meta/conf/machine/include/tune-cortexm3.inc b/meta/conf/machine/include/tune-cortexm3.inc deleted file mode 100644 index 62280c497a..0000000000 --- a/meta/conf/machine/include/tune-cortexm3.inc +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | DEFAULTTUNE ?= "cortexm3" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm3', ' -mcpu=cortex-m3', '', d)}" | ||
7 | |||
8 | TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations" | ||
9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}" | ||
10 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', 'armv7m:', '' ,d)}" | ||
11 | |||
12 | AVAILTUNES += "cortexm3" | ||
13 | ARMPKGARCH_tune-cortexm3 = "armv7m" | ||
14 | TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3" | ||
15 | PACKAGE_EXTRA_ARCHS_tune-cortexm3 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7m-vfp" | ||
diff --git a/meta/conf/machine/include/tune-cortexr4.inc b/meta/conf/machine/include/tune-cortexr4.inc deleted file mode 100644 index 5ef37c65f0..0000000000 --- a/meta/conf/machine/include/tune-cortexr4.inc +++ /dev/null | |||
@@ -1,15 +0,0 @@ | |||
1 | DEFAULTTUNE ?= "cortexr4" | ||
2 | |||
3 | require conf/machine/include/arm/arch-armv7a.inc | ||
4 | |||
5 | TUNEVALID[cortexr4] = "Enable Cortex-R4 specific processor optimizations" | ||
6 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr4', ' -mcpu=cortex-r4', '', d)}" | ||
7 | |||
8 | TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations" | ||
9 | TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7r', ' -march=armv7-r', '', d)}" | ||
10 | MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7r', 'armv7r:', '' ,d)}" | ||
11 | |||
12 | AVAILTUNES += "cortexr4" | ||
13 | ARMPKGARCH_tune-cortexr4 = "armv7r" | ||
14 | TUNE_FEATURES_tune-cortexr4 = "armv7r vfp cortexr4 arm thumb" | ||
15 | PACKAGE_EXTRA_ARCHS_tune-cortexr4 = "${PACKAGE_EXTRA_ARCHS_tune-armv7at} armv7r-vfp armv7rt2-vfp" | ||
diff --git a/meta/recipes-devtools/gcc/gcc-configure-common.inc b/meta/recipes-devtools/gcc/gcc-configure-common.inc index 84e971a658..85e69db535 100644 --- a/meta/recipes-devtools/gcc/gcc-configure-common.inc +++ b/meta/recipes-devtools/gcc/gcc-configure-common.inc | |||
@@ -72,8 +72,6 @@ EXTRA_OECONF_append_mips64eln32 = " --with-abi=64 --with-arch-64=mips64 --with-t | |||
72 | # features used in OE. | 72 | # features used in OE. |
73 | EXTRA_OECONF_append_armv6 = " --with-arch=armv6" | 73 | EXTRA_OECONF_append_armv6 = " --with-arch=armv6" |
74 | EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" | 74 | EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" |
75 | EXTRA_OECONF_append_armv7m = " --with-arch=armv7-m" | ||
76 | EXTRA_OECONF_append_armv7r = " --with-arch=armv7-r" | ||
77 | EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" | 75 | EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" |
78 | 76 | ||
79 | EXTRA_OECONF_GCC_FLOAT ??= "" | 77 | EXTRA_OECONF_GCC_FLOAT ??= "" |