summaryrefslogtreecommitdiffstats
path: root/meta/conf
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2013-04-24 15:42:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-22 17:13:56 +0100
commitba617d6b25ee765325f6aaaa9b4bd5ee6af4d851 (patch)
tree53a2ed7d10f184e2a1ea7bdfc7532b5283f37d5a /meta/conf
parent15edb1fb5eb58f95e31f42396de3707a6a904791 (diff)
downloadpoky-ba617d6b25ee765325f6aaaa9b4bd5ee6af4d851.tar.gz
tune-thumb.inc: Remove, replaced by arm/feature-arm-thumb.inc
(From OE-Core master rev: f4b451c8ad8f857b1789d75d68ce8ea8fc73542e) (From OE-Core rev: 7db91a809a168df6e01fb9017c0a2ab78ad953ec) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf')
-rw-r--r--meta/conf/machine/include/tune-thumb.inc32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta/conf/machine/include/tune-thumb.inc b/meta/conf/machine/include/tune-thumb.inc
deleted file mode 100644
index a2392c2d59..0000000000
--- a/meta/conf/machine/include/tune-thumb.inc
+++ /dev/null
@@ -1,32 +0,0 @@
1#tune file for thumb instructions
2
3ARM_INSTRUCTION_SET ?= "arm"
4# "arm" "thumb"
5# The instruction set the compiler should use when generating application
6# code. The kernel is always compiled with arm code at present. arm code
7# is the original 32 bit ARM instruction set, thumb code is the 16 bit
8# encoded RISC sub-set. Thumb code is smaller (maybe 70% of the ARM size)
9# but requires more instructions (140% for 70% smaller code) so may be
10# slower.
11
12THUMB_INTERWORK ?= "yes"
13# "yes" "no"
14# Whether to compile with code to allow interworking between the two
15# instruction sets. This allows thumb code to be executed on a primarily
16# arm system and vice versa. It is strongly recommended that DISTROs not
17# turn this off - the actual cost is very small.
18
19OVERRIDE_THUMB = "${@['', ':thumb'][d.getVar('ARM_INSTRUCTION_SET', True) == 'thumb']}"
20OVERRIDE_INTERWORK = "${@['', ':thumb-interwork'][d.getVar('THUMB_INTERWORK', True) == 'yes']}"
21OVERRIDES .= "${OVERRIDE_THUMB}${OVERRIDE_INTERWORK}"
22
23# Compiler and linker options for application code and kernel code. These
24# options ensure that the compiler has the correct settings for the selected
25# instruction set and interworking.
26ARM_INTERWORK_M_OPT = "${@['-mno-thumb-interwork', '-mthumb-interwork'][d.getVar('THUMB_INTERWORK', True) == 'yes']}"
27ARM_THUMB_M_OPT = "${@['-marm', '-mthumb'][d.getVar('ARM_INSTRUCTION_SET', True) == 'thumb']}"
28
29#
30TUNE_CCARGS += "${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}"
31TARGET_CC_KERNEL_ARCH += "-mno-thumb-interwork -marm"
32