mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
sdk: change EXTRA_OECONF_FPU to EXTRA_OECONF_GCC_FLOAT
This variable is used to ensure the proper version of --with-float=FOO is passed to gcc's configure script. gcc also has a --with-fpu=FOO option that means something different. To avoid confusion, change the names to be consistent. (From OE-Core rev: c17d883fa99b6967d83c3796d22fc0c1dbe704e6) Signed-off-by: Peter A. Bigot <pab@pabigot.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
79e235c5ee
commit
14a2d1eaa1
@@ -9,7 +9,7 @@ inherit autotools gettext texinfo
|
||||
|
||||
BPN = "gcc"
|
||||
|
||||
def get_gcc_fpu_setting(bb, d):
|
||||
def get_gcc_float_setting(bb, d):
|
||||
if d.getVar('ARMPKGSFX_EABI', True) == "hf" and d.getVar('TRANSLATED_TARGET_ARCH', True) == "arm":
|
||||
return "--with-float=hard"
|
||||
if d.getVar('TARGET_FPU', True) in [ 'soft' ]:
|
||||
@@ -18,7 +18,7 @@ def get_gcc_fpu_setting(bb, d):
|
||||
return "--enable-e500_double"
|
||||
return ""
|
||||
|
||||
get_gcc_fpu_setting[vardepvalue] = "${@get_gcc_fpu_setting(bb, d)}"
|
||||
get_gcc_float_setting[vardepvalue] = "${@get_gcc_float_setting(bb, d)}"
|
||||
|
||||
def get_gcc_mips_plt_setting(bb, d):
|
||||
if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'mips', 'mipsel' ] and bb.utils.contains('DISTRO_FEATURES', 'mplt', True, False, d):
|
||||
|
||||
Reference in New Issue
Block a user