summaryrefslogtreecommitdiffstats
path: root/meta/conf/machine
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2015-12-08 17:09:58 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-12-22 16:08:50 +0000
commitb6fe440df69a0208e11ae9eed54cce3b3329b694 (patch)
tree8b808b9063d1098f0a8c369d1fab3de571fab698 /meta/conf/machine
parent1d5a4cfee45a99bd518b6378553cff4d3a52f593 (diff)
downloadpoky-b6fe440df69a0208e11ae9eed54cce3b3329b694.tar.gz
feature-arm-thumb.inc: drop 'no-thumb-interwork' tuning feature
Interworking is required for ARM EABI, so attempting to disable it via a tuning feature no longer makes sense (support for ARM OABI was deprecated in gcc 4.7). We can drop '-mthumb-interwork' from TUNE_CCARGS for the same reason. (From OE-Core rev: d942f94de8966c839209e8c9a632351d108852c4) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/machine')
-rw-r--r--meta/conf/machine/include/arm/feature-arm-thumb.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/conf/machine/include/arm/feature-arm-thumb.inc b/meta/conf/machine/include/arm/feature-arm-thumb.inc
index fb22977662..0c3221090e 100644
--- a/meta/conf/machine/include/arm/feature-arm-thumb.inc
+++ b/meta/conf/machine/include/arm/feature-arm-thumb.inc
@@ -28,13 +28,5 @@ TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' -m${ARM_M_OPT}'
28# Add suffix from ARM_THUMB_SUFFIX only if after all this we still set ARM_M_OPT to thumb 28# Add suffix from ARM_THUMB_SUFFIX only if after all this we still set ARM_M_OPT to thumb
29ARMPKGSFX_THUMB .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '${ARM_THUMB_SUFFIX}', '', d) if d.getVar('ARM_M_OPT', True) == 'thumb' else ''}" 29ARMPKGSFX_THUMB .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '${ARM_THUMB_SUFFIX}', '', d) if d.getVar('ARM_M_OPT', True) == 'thumb' else ''}"
30 30
31# Whether to compile with code to allow interworking between the two
32# instruction sets. This allows thumb code to be executed on a primarily
33# arm system and vice versa. It is strongly recommended that DISTROs not
34# turn this off - the actual cost is very small.
35TUNEVALID[no-thumb-interwork] = "Disable mixing of thumb and ARM functions"
36THUMB_TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'no-thumb-interwork', ' -mno-thumb-interwork', ' -mthumb-interwork', d)}"
37TUNE_CCARGS .= "${@bb.utils.contains('TUNE_FEATURES', 'thumb', ' ${THUMB_TUNE_CCARGS}', '', d)}"
38
39# what about armv7m devices which don't support -marm (e.g. Cortex-M3)? 31# what about armv7m devices which don't support -marm (e.g. Cortex-M3)?
40TARGET_CC_KERNEL_ARCH += "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork -marm', '', d)}" 32TARGET_CC_KERNEL_ARCH += "${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork -marm', '', d)}"