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>
This commit is contained in:
Richard Purdie 2013-10-02 13:06:19 +00:00
parent 6dff1bc80f
commit f81f4c5f21
1 changed files with 2 additions and 0 deletions

View File

@ -16,6 +16,8 @@ def get_gcc_fpu_setting(bb, d):
return "--enable-e500_double"
return ""
get_gcc_fpu_setting[vardepvalue] = "${@get_gcc_fpu_setting(bb, d)}"
def get_gcc_mips_plt_setting(bb, d):
if d.getVar('TRANSLATED_TARGET_ARCH', True) in [ 'mips', 'mipsel' ] and 'mplt' in d.getVar('DISTRO_FEATURES',1).split() :
return "--with-mips-plt"