diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-common.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-common.inc b/meta/recipes-devtools/gcc/gcc-common.inc index 66a18d9749..4c55542280 100644 --- a/meta/recipes-devtools/gcc/gcc-common.inc +++ b/meta/recipes-devtools/gcc/gcc-common.inc | |||
@@ -9,7 +9,7 @@ inherit autotools gettext texinfo | |||
9 | 9 | ||
10 | BPN = "gcc" | 10 | BPN = "gcc" |
11 | 11 | ||
12 | def get_gcc_fpu_setting(bb, d): | 12 | def get_gcc_float_setting(bb, d): |
13 | if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm": | 13 | if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm": |
14 | return "--with-float=hard" | 14 | return "--with-float=hard" |
15 | if d.getVar('TARGET_FPU', True) in [ 'soft' ]: | 15 | if d.getVar('TARGET_FPU', True) in [ 'soft' ]: |
@@ -18,7 +18,7 @@ def get_gcc_fpu_setting(bb, d): | |||
18 | return "--enable-e500_double" | 18 | return "--enable-e500_double" |
19 | return "" | 19 | return "" |
20 | 20 | ||
21 | get_gcc_fpu_setting[vardepvalue] = "${@get_gcc_fpu_setting(bb, d)}" | 21 | get_gcc_float_setting[vardepvalue] = "${@get_gcc_float_setting(bb, d)}" |
22 | 22 | ||
23 | def get_gcc_mips_plt_setting(bb, d): | 23 | def get_gcc_mips_plt_setting(bb, d): |
24 | if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'mips', 'mipsel' ] and bb.utils.contains('DISTRO_FEATURES', 'mplt', True, False, d): | 24 | if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'mips', 'mipsel' ] and bb.utils.contains('DISTRO_FEATURES', 'mplt', True, False, d): |