summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2016-02-01 13:42:08 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-02 14:44:16 +0000
commit654eddce352f3681a716116c6bd9cf0c18b09e5a (patch)
tree154013629f65fe9be3c3227f5f389e4f82801995
parent322015a2ddc124276475e6fb985039e81b4886de (diff)
downloadpoky-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.inc11
-rw-r--r--meta/conf/machine/include/tune-cortexm3.inc15
-rw-r--r--meta/conf/machine/include/tune-cortexr4.inc15
-rw-r--r--meta/recipes-devtools/gcc/gcc-configure-common.inc2
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 @@
1DEFAULTTUNE ?= "armv7a"
2
3require conf/machine/include/arm/arch-armv7a.inc
4
5TUNEVALID[cortexm1] = "Enable Cortex-M1 specific processor optimizations"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm1', ' -mcpu=cortex-m1', '', d)}"
7
8AVAILTUNES += "cortexm1"
9ARMPKGARCH_tune-cortexm1 = "cortexm1"
10TUNE_FEATURES_tune-cortexm1 = "${TUNE_FEATURES_tune-armv7a} cortexm1"
11PACKAGE_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 @@
1DEFAULTTUNE ?= "cortexm3"
2
3require conf/machine/include/arm/arch-armv7a.inc
4
5TUNEVALID[cortexm3] = "Enable Cortex-M3 specific processor optimizations"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexm3', ' -mcpu=cortex-m3', '', d)}"
7
8TUNEVALID[armv7m] = "Enable Cortex-M3 specific processor optimizations"
9TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', ' -march=armv7-m', '', d)}"
10MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7m', 'armv7m:', '' ,d)}"
11
12AVAILTUNES += "cortexm3"
13ARMPKGARCH_tune-cortexm3 = "armv7m"
14TUNE_FEATURES_tune-cortexm3 = "armv7m vfp cortexm3"
15PACKAGE_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 @@
1DEFAULTTUNE ?= "cortexr4"
2
3require conf/machine/include/arm/arch-armv7a.inc
4
5TUNEVALID[cortexr4] = "Enable Cortex-R4 specific processor optimizations"
6TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'cortexr4', ' -mcpu=cortex-r4', '', d)}"
7
8TUNEVALID[armv7r] = "Enable Cortex-R4 specific processor optimizations"
9TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'armv7r', ' -march=armv7-r', '', d)}"
10MACHINEOVERRIDES =. "${@bb.utils.contains('TUNE_FEATURES', 'armv7r', 'armv7r:', '' ,d)}"
11
12AVAILTUNES += "cortexr4"
13ARMPKGARCH_tune-cortexr4 = "armv7r"
14TUNE_FEATURES_tune-cortexr4 = "armv7r vfp cortexr4 arm thumb"
15PACKAGE_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.
73EXTRA_OECONF_append_armv6 = " --with-arch=armv6" 73EXTRA_OECONF_append_armv6 = " --with-arch=armv6"
74EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a" 74EXTRA_OECONF_append_armv7a = " --with-arch=armv7-a"
75EXTRA_OECONF_append_armv7m = " --with-arch=armv7-m"
76EXTRA_OECONF_append_armv7r = " --with-arch=armv7-r"
77EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a" 75EXTRA_OECONF_append_armv7ve = " --with-arch=armv7-a"
78 76
79EXTRA_OECONF_GCC_FLOAT ??= "" 77EXTRA_OECONF_GCC_FLOAT ??= ""