diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2013-04-24 15:42:11 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-02 17:41:53 +0100 |
commit | 3dfbedbddeef009bef8da3c18a1eaa8293e22940 (patch) | |
tree | b99eee04b50910a14a4c07738b8467698a9395a6 | |
parent | c42cc8fb38aee46f4778b9c68412a47ae5919923 (diff) | |
download | poky-3dfbedbddeef009bef8da3c18a1eaa8293e22940.tar.gz |
tune-thumb.inc: Remove, replaced by arm/feature-arm-thumb.inc
(From OE-Core rev: f4b451c8ad8f857b1789d75d68ce8ea8fc73542e)
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>
-rw-r--r-- | meta/conf/machine/include/tune-thumb.inc | 32 |
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 | |||
3 | ARM_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 | |||
12 | THUMB_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 | |||
19 | OVERRIDE_THUMB = "${@['', ':thumb'][d.getVar('ARM_INSTRUCTION_SET', True) == 'thumb']}" | ||
20 | OVERRIDE_INTERWORK = "${@['', ':thumb-interwork'][d.getVar('THUMB_INTERWORK', True) == 'yes']}" | ||
21 | OVERRIDES .= "${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. | ||
26 | ARM_INTERWORK_M_OPT = "${@['-mno-thumb-interwork', '-mthumb-interwork'][d.getVar('THUMB_INTERWORK', True) == 'yes']}" | ||
27 | ARM_THUMB_M_OPT = "${@['-marm', '-mthumb'][d.getVar('ARM_INSTRUCTION_SET', True) == 'thumb']}" | ||
28 | |||
29 | # | ||
30 | TUNE_CCARGS += "${ARM_INTERWORK_M_OPT} ${ARM_THUMB_M_OPT}" | ||
31 | TARGET_CC_KERNEL_ARCH += "-mno-thumb-interwork -marm" | ||
32 | |||