diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-02 13:06:19 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-04 18:26:50 +0100 |
commit | f81f4c5f21d48b48b710590a80e67dca70893e70 (patch) | |
tree | 7daefae04888691cdbd84972b08cd507c9e915df /meta/recipes-devtools/gcc | |
parent | 6dff1bc80f4e398f5b045a8a75acedfd5f854637 (diff) | |
download | poky-f81f4c5f21d48b48b710590a80e67dca70893e70.tar.gz |
gcc-common: Improve fpu code checksum dependencies
We only care about the end result in this case, not the specific inputs
that went into determining the gcc option. This change updates the code
to reflect that.
(From OE-Core rev: 83055511dab1e2aeefe84262ebe52595848c844b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 062ccc7c03..4f691a090c 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -16,6 +16,8 @@ def get_gcc_fpu_setting(bb, d): | |||
16 | return "--enable-e500_double" | 16 | return "--enable-e500_double" |
17 | return "" | 17 | return "" |
18 | 18 | ||
19 | get_gcc_fpu_setting[vardepvalue] = "${@get_gcc_fpu_setting(bb, d)}" | ||
20 | |||
19 | def get_gcc_mips_plt_setting(bb, d): | 21 | def get_gcc_mips_plt_setting(bb, d): |
20 | if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'mips', 'mipsel' ] and 'mplt' in d.getVar('DISTRO_FEATURES',1).split() : | 22 | if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'mips', 'mipsel' ] and 'mplt' in d.getVar('DISTRO_FEATURES',1).split() : |
21 | return "--with-mips-plt" | 23 | return "--with-mips-plt" |